fixed add for numerical values

This commit is contained in:
Ralf Becker 2003-10-03 10:00:21 +00:00
parent 8a2a675b37
commit 03e9bb126d

View File

@ -312,7 +312,7 @@
function add($app_name,$var,$value = '##undef##',$type='user')
{
//echo "<p>add('$app_name','$var','$value')</p>\n";
if ($value == '##undef##')
if ($value === '##undef##')
{
global $$var;
$value = $$var;