Revision: 1799
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1799&view=rev
Author:   cimorrison
Date:     2011-03-01 09:53:06 +0000 (Tue, 01 Mar 2011)

Log Message:
-----------
Fixed bug whereby the approval status in the repeat table wasn't being set 
properly.

Modified Paths:
--------------
    mrbs/trunk/web/upgrade/17/post.inc

Modified: mrbs/trunk/web/upgrade/17/post.inc
===================================================================
--- mrbs/trunk/web/upgrade/17/post.inc  2011-03-01 09:11:18 UTC (rev 1798)
+++ mrbs/trunk/web/upgrade/17/post.inc  2011-03-01 09:53:06 UTC (rev 1799)
@@ -70,7 +70,7 @@
 // awaiting approval if any one of its individual members is awaiting approval.
 
 // Find all the rows in the entry table that are members of a series and are 
awaiting approval
-$sql = "SELECT DISTINCT repeat_id FROM $tbl_entry WHERE repeat_id!=" . 
REP_NONE . " AND status=0";
+$sql = "SELECT DISTINCT repeat_id FROM $tbl_entry WHERE repeat_id!=0 AND 
(status&" . STATUS_AWAITING_APPROVAL . " != 0)";
 $res = sql_query($sql);
 if ($res === FALSE)
 {


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

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to