Menu

#395 php-5: strict: Creating default object from empty value

closed-fixed
nobody
None
5
2011-02-06
2011-02-02
Max Nokhrin
No

The new PHP5 strict standards require to initialize objects using new stdClass(); call. The config file doesn't do so on lines 27 and 126:

Line 27 should be:
$conf = new stdClass();

Line 126 should be:
$conf->domains[$i] = new stdClass();
this needs to be propagated for each new domain entry.

Discussion

  • Tim Gerundt

    Tim Gerundt - 2011-02-06

    Thank you very much for the hint!

    It is now fixed in SVN (In Revision 2382) and will included in the next NOCC version.

     
  • Tim Gerundt

    Tim Gerundt - 2011-02-06
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB