[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-commits
Subject:    [6155] More quotes for booleans :)
From:       mroch () bricolage ! cc
Date:       2005-01-18 0:59:42
Message-ID: 20050118005942.8927.qmail () x1 ! develooper ! com
[Download RAW message or body]

Revision: 6155
Author:   mroch
Date:     2005-01-17 16:59:40 -0800 (Mon, 17 Jan 2005)
ViewCVS:  http://viewsvn.bricolage.cc/?rev=6155&view=rev

Log Message:
-----------
More quotes for booleans :)

Modified Files:
--------------
    bricolage/trunk/lib/Bric/Biz/Asset/Formatting.pm



["r6155-mroch.diff" (r6155-mroch.diff)]

Modified: bricolage/trunk/lib/Bric/Biz/Asset/Formatting.pm
===================================================================
--- bricolage/trunk/lib/Bric/Biz/Asset/Formatting.pm	2005-01-18 00:32:53 UTC (rev 6154)
+++ bricolage/trunk/lib/Bric/Biz/Asset/Formatting.pm	2005-01-18 00:59:40 UTC (rev 6155)
@@ -281,7 +281,7 @@
                            . 'ORDER BY checked_out DESC LIMIT 1 )',
     checked_out           => 'i.checked_out = ?',
     _checked_out          => 'i.checked_out = ?',
-    _not_checked_out      => 'i.checked_out = 0 AND f.id not in '
+    _not_checked_out      => "i.checked_out = '0' AND f.id not in "
                            . '(SELECT formatting__id FROM formatting_instance '
                            . 'WHERE f.id = formatting_instance.formatting__id '
                            . "AND formatting_instance.checked_out = '1')",


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic