Conf check broken with new PHP

Bug #836154 reported by Mireiawen on 2011-08-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BeBot
Undecided
Thomas Juberg

Bug Description

Sources/Conf.php, on line 70 is not using isset to check if variable is set or not, instead it only checks if it is true or not. This seems to cause problems with at least with PHP version 5.3.5

Fix: Change the line from
if(!$this -> cf)
to
if(!isset($this -> cf))

Changed in bebot:
status: New → Fix Committed
milestone: none → 0.6.9
assignee: nobody → Thomas Juberg (thomas-juberg)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers