quick question about '{if ... eq ... }'

From: Date: Thu, 25 Sep 2003 12:38:20 +0000
Subject: quick question about '{if ... eq ... }'
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10266@lists.php.net to get a copy of this message
Hello, I'm wondering why this works with error_reporting(E_ALL), even if forum_id is not in the URL: {if $smarty.get.forum_id eq ""} forum_id not set! {/if} Shouldn't this give an warning, because forum_id is not a know variable? If not, is it safe to test if get-vars are set on this way, or do I need to make a smarty function which simulates the isset() function, so I call that first before checking the value of it? Thanks! Peter

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