"block"-plugin produces PHP "notice-error" (Smarty v. 2.5.0)

From: Date: Mon, 01 Sep 2003 12:42:33 +0000
Subject: "block"-plugin produces PHP "notice-error" (Smarty v. 2.5.0)
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10160@lists.php.net to get a copy of this message
Hi! I coded some "block"-plugins, which are stored in the smarty plugin folders. Everytime smarty loads the plugins on every compile PHP produces the following Notice: Notice: Undefined offset: 3 in [path]/Smarty.class.php on line 2460 If I load the plugins dynamically there's no Notice. I fixed this by replacing #2460: if (!$plugin[3]) { with #2460: if (empty ($plugin[3])) { Is this a possible solution or could this cause further errors? greetz Sina Eetezadi <<<<<<<<<<<<<<<<<<<<<<<<<<< + Sina Eetezadi + voice: 0160/99572241 + mail: sina.eetezadi@web.de + icq: 135496224 + aim: inet4yousina >>>>>>>>>>>>>>>>>>>>>>>>>>> -- One of my webdesign-projects: http://www.he-1.de

« previous php.smarty.general (#10160) next »