From da84d54cfad4f956740771c9de8f320a5d2e2630 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 22 Dec 2002 15:34:01 +0000 Subject: [PATCH] Fix binary comparison instead of equivalence ... caused smilie_url to be set to '' when adding new smiley git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3234 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/admin/admin_smilies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/admin/admin_smilies.php b/phpBB/admin/admin_smilies.php index 97b1c8727d..37e14a212a 100644 --- a/phpBB/admin/admin_smilies.php +++ b/phpBB/admin/admin_smilies.php @@ -446,7 +446,7 @@ else if ( $mode != "" ) $smile_emotion = ( isset($HTTP_POST_VARS['smile_emotion']) ) ? $HTTP_POST_VARS['smile_emotion'] : $HTTP_GET_VARS['smile_emotion']; // If no code was entered complain ... - if ($smile_code == '' || $smile_url = '') + if ($smile_code == '' || $smile_url == '') { message_die(MESSAGE, $lang['Fields_empty']); }