mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
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
This commit is contained in:
parent
d0022d47a0
commit
da84d54cfa
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
$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 no code was entered complain ...
|
||||||
if ($smile_code == '' || $smile_url = '')
|
if ($smile_code == '' || $smile_url == '')
|
||||||
{
|
{
|
||||||
message_die(MESSAGE, $lang['Fields_empty']);
|
message_die(MESSAGE, $lang['Fields_empty']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue