Revision: 1274
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1274&view=rev
Author:   cimorrison
Date:     2009-11-26 05:31:06 +0000 (Thu, 26 Nov 2009)

Log Message:
-----------
Fixed test for E_DEPRECATED constant so that it doesn't give a warning if it 
doesn't exist.

Modified Paths:
--------------
    mrbs/trunk/web/systemdefaults.inc.php

Modified: mrbs/trunk/web/systemdefaults.inc.php
===================================================================
--- mrbs/trunk/web/systemdefaults.inc.php       2009-11-25 11:31:48 UTC (rev 
1273)
+++ mrbs/trunk/web/systemdefaults.inc.php       2009-11-26 05:31:06 UTC (rev 
1274)
@@ -732,7 +732,7 @@
 
 // Make sure notice errors are not reported, they can break mrbs code:
 $error_level = E_ALL ^ E_NOTICE;
-if (constant("E_DEPRECATED"))
+if (defined("E_DEPRECATED"))
 {
   $error_level = $error_level ^ E_DEPRECATED;
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to