Bug tracker

This ticket has been moved to our new tracker. Open Ticket PHPBB3-6745 now.

"0" is an empty topic title (fix completed in vcs)

If i want to create a new topic and enter "0" (without the quotes) as a topic title, this will not work, because of the following:
Code: Select all
      if (!$subject || !utf_clean_string($subject))
      {
         $error[] = $user->lang['EMPTY_SUBJECT'];
      }

Perhaps $subject === '' should be used here?

Comments / History

Assigned ticket to user "Acyd Burn"

Action performed by Acyd Burn (Server Manager) on Dec 27th 2007, 15:28

Changed ticket status from "New" to "Fix in progress"

Action performed by Acyd Burn (Server Manager) on Jan 3rd 2008, 16:44

Posted by Acyd Burn (Server Manager) on Jan 3rd 2008, 16:44

you are quoting the draft code. ;) The code location responsible is different, the outcome the same. :)

Linked ticket with changeset: r8306

Action performed by Anonymous (I am too lazy to register) on Jan 5th 2008, 16:10

Changed ticket status from "Fix in progress" to "Fix completed in CVS"

Action performed by Acyd Burn (Server Manager) on Jan 6th 2008, 14:12

Ticket details

Related SVN changesets