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 !
Fixed email().
vito (author)
Mon Nov 10 21:02:25 -0800 2008
commit  cc1ff95533d966b6b6b8cd0c2dffb8f10fdab902
tree    f0e809b6a1c621036f475230d113c73abee69c08
parent  86afc2878f6cc1596788c51f7bd389e596b2bb0a
...
1572
1573
1574
1575
 
 
1576
1577
1578
...
1572
1573
1574
 
1575
1576
1577
1578
1579
0
@@ -1572,7 +1572,8 @@
0
     function email() {
0
         $function = "mail";
0
         Trigger::current()->filter($function, "send_mail");
0
-        return call_user_func_array($function, func_get_args());
0
+        $args = func_get_args(); # Looks redundant, but it must be so in order to meet PHP's retardation requirements.
0
+        return call_user_func_array($function, $args);
0
     }
0
 
0
     /**

Comments