public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Return true instead of "override" to override controller functions.
vito (author)
Fri Nov 21 19:39:33 -0800 2008
commit  450842294a02a884f8a7fdb6f4f8110f98a148c5
tree    6893720003761d28abdfc3274fea50f53fb37aa0
parent  ccaa664167b47343121200bb89d9bfbbe8f7b5fb
...
95
96
97
98
 
99
100
101
...
95
96
97
 
98
99
100
101
0
@@ -95,7 +95,7 @@
0
                 else
0
                     $call = false;
0
 
0
-                if ($call != "override" and method_exists($this->controller, $method))
0
+                if ($call !== true and method_exists($this->controller, $method))
0
                     $response = call_user_func_array(array($this->controller, $method), $args);
0
                 else
0
                     $response = false;

Comments