/[webpac2]/Webpacus/lib/Webpacus/Controller/Editor.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /Webpacus/lib/Webpacus/Controller/Editor.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 257 by dpavlin, Thu Dec 15 02:03:25 2005 UTC revision 258 by dpavlin, Fri Dec 16 13:20:51 2005 UTC
# Line 51  sub default : Private { Line 51  sub default : Private {
51                  # convert to resonable format for TT                  # convert to resonable format for TT
52                  foreach my $db (keys %{ $config_dbs }) {                  foreach my $db (keys %{ $config_dbs }) {
53                          my $d = $config_dbs->{$db} || die;                          my $d = $config_dbs->{$db} || die;
54                          my $inputs = $d->{input};                          my $inputs = $d->{input} || next;
 $c->log->debug("inputs [1]: ", Dumper($inputs));  
55                          $inputs = [ $inputs ] if (ref($inputs) ne 'ARRAY');                          $inputs = [ $inputs ] if (ref($inputs) ne 'ARRAY');
 $c->log->debug("inputs [2]: ", Dumper($inputs));  
56    
57                          foreach my $i ( @{ $inputs } ) {                          foreach my $i ( @{ $inputs } ) {
58                                  my $el = {                                  my $el = {

Legend:
Removed from v.257  
changed lines
  Added in v.258

  ViewVC Help
Powered by ViewVC 1.1.26