cvs: smarty / NEWS /libs/core core.is_secure.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1077581455@cvsserver>
messju		Mon Feb 23 19:10:55 2004 EDT

  Modified files:              
    /smarty	NEWS 
    /smarty/libs/core	core.is_secure.php 
  Log:
  smarty_resource_*_secure got &$smarty passed errornously as 3rd
  parameter and not as 2nd. this is fixed.
  
  
  
http://cvs.php.net/diff.php/smarty/NEWS?r1=1.438&r2=1.439&ty=u
Index: smarty/NEWS
diff -u smarty/NEWS:1.438 smarty/NEWS:1.439
--- smarty/NEWS:1.438	Mon Feb 23 18:19:08 2004
+++ smarty/NEWS	Mon Feb 23 19:10:54 2004
@@ -1,3 +1,4 @@
+  - fix parameters passed to resource's secure()-function (messju)
   - fix handling of integer values like width and delay im
     smarty_function_popup() (messju)
 
http://cvs.php.net/diff.php/smarty/libs/core/core.is_secure.php?r1=1.6&r2=1.7&ty=u
Index: smarty/libs/core/core.is_secure.php
diff -u smarty/libs/core/core.is_secure.php:1.6 smarty/libs/core/core.is_secure.php:1.7
--- smarty/libs/core/core.is_secure.php:1.6	Sun Oct 12 18:19:32 2003
+++ smarty/libs/core/core.is_secure.php	Mon Feb 23 19:10:55 2004
@@ -48,7 +48,7 @@
         // resource is not on local file system
         $_smarty_secure = call_user_func_array(
             $smarty->_plugins['resource'][$params['resource_type']][0][2],
-            array($params['resource_name'], &$_smarty_secure, &$smarty));
+            array($params['resource_name'], &$smarty));
     }
 
     return $_smarty_secure;

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.