bjori           Tue Aug 14 11:51:36 2007 UTC

  Modified files:              
    /phd        build.php 
  Log:
  Fallback to __call() if element isn't implemented
  
  
  
http://cvs.php.net/viewvc.cgi/phd/build.php?r1=1.17&r2=1.18&diff_format=u
Index: phd/build.php
diff -u phd/build.php:1.17 phd/build.php:1.18
--- phd/build.php:1.17  Tue Aug 14 11:47:35 2007
+++ phd/build.php       Tue Aug 14 11:51:36 2007
@@ -1,5 +1,5 @@
 <?php
-/*  $Id: build.php,v 1.17 2007/08/14 11:47:35 bjori Exp $ */
+/*  $Id: build.php,v 1.18 2007/08/14 11:51:36 bjori Exp $ */
 
 function err($no, $str, $file, $line) {
        global $notify;
@@ -140,11 +140,11 @@
                         break;
                     }
                     $funcname = $tag;
-                    $retval = $format->{$funcname}($open, $nodename, 
$reader->getAttributes());
-                    foreach($themes as $name => $theme) {
-                        if (!in_array($name, $skip)) {
-                            $theme->appendData($retval, $reader->isChunk);
-                        }
+                }
+                $retval = $format->{$funcname}($open, $nodename, 
$reader->getAttributes());
+                foreach($themes as $name => $theme) {
+                    if (!in_array($name, $skip)) {
+                        $theme->appendData($retval, $reader->isChunk);
                     }
                 }
             }

Reply via email to