Author: sevein
Date: Wed Jul 25 16:32:21 2012
New Revision: 11981

Log:
Cosmetic change

Modified:
   trunk/lib/task/migrate/arUpgrader110.class.php

Modified: trunk/lib/task/migrate/arUpgrader110.class.php
==============================================================================
--- trunk/lib/task/migrate/arUpgrader110.class.php      Wed Jul 25 16:30:49 
2012        (r11980)
+++ trunk/lib/task/migrate/arUpgrader110.class.php      Wed Jul 25 16:32:21 
2012        (r11981)
@@ -720,10 +720,10 @@
           FROM information_object
           WHERE
             information_object.parent_id IS NOT NULL
-            AND (SELECT COUNT(id) FROM status
-              WHERE
-                status.object_id = information_object.id AND
-                status.type_id = '.QubitTerm::STATUS_TYPE_PUBLICATION_ID.') < 
1';
+            AND 1 > (SELECT COUNT(id) FROM status
+                      WHERE
+                        status.object_id = information_object.id AND
+                        status.type_id = 
'.QubitTerm::STATUS_TYPE_PUBLICATION_ID.')';
         $stmt = QubitPdo::prepareAndExecute($sql);
         while ($row = $stmt->fetch(PDO::FETCH_NUM))
         {

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to