Revision: 2160
http://mrbs.svn.sourceforge.net/mrbs/?rev=2160&view=rev
Author: cimorrison
Date: 2011-11-02 10:00:46 +0000 (Wed, 02 Nov 2011)
Log Message:
-----------
Got rid of an undefined variable message
Modified Paths:
--------------
mrbs/trunk/web/dbsys.inc
Modified: mrbs/trunk/web/dbsys.inc
===================================================================
--- mrbs/trunk/web/dbsys.inc 2011-11-02 09:53:01 UTC (rev 2159)
+++ mrbs/trunk/web/dbsys.inc 2011-11-02 10:00:46 UTC (rev 2160)
@@ -110,6 +110,10 @@
$handle = func_get_arg(1);
$db_conn = $handle['connection'];
}
+ else
+ {
+ $db_conn = NULL;
+ }
$res = ($db_conn) ? sql_query($sql, $db_conn) : sql_query($sql);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits