Revision: 1848
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1848&view=rev
Author:   cimorrison
Date:     2011-07-14 09:03:31 +0000 (Thu, 14 Jul 2011)

Log Message:
-----------
Fixed bug that resulted in a PHP warning when a custom field with 
$select_options was left empty in the report form

Modified Paths:
--------------
    mrbs/trunk/web/report.php

Modified: mrbs/trunk/web/report.php
===================================================================
--- mrbs/trunk/web/report.php   2011-07-14 08:54:56 UTC (rev 1847)
+++ mrbs/trunk/web/report.php   2011-07-14 09:03:31 UTC (rev 1848)
@@ -994,7 +994,7 @@
   {
     $var = "match_$key";
     // Associative arrays
-    if (!empty($var) && is_assoc($select_options["entry.$key"]))
+    if (!empty($$var) && is_assoc($select_options["entry.$key"]))
     {
       $sql .= " AND ";
       $or_array = array();


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

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to