Problem with accessing objects in smarty's global session vars.

From: Date: Sat, 12 Apr 2003 01:00:54 +0000
Subject: Problem with accessing objects in smarty's global session vars.
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1134@lists.php.net to get a copy of this message
Hi, I know this problem was reported when 2.5.0rc1 came out but it hasn't been corrected. It works in 2.4.2 but with the new Smarty you can't do something like this.. {if !$smarty.session.cart->inCart($seller_id,$item_id)} i get this error in the template Fatal error: Smarty: [in store.tpl line 23]: syntax error: $smarty.session.cart is an invalid reference (Smarty_Compiler.class.php, line 1693) in C:\importanime\include\smarty\Smarty_Compiler.class.php on line 1824 Thanks, Rob Schultz

« previous php.smarty.dev (#1134) next »