Google Groups Home
Help | Sign in
r2947 - development/4.0/textpattern/in clude
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
codesite-nore...@google.com  
View profile
 More options Jul 21, 5:25 pm
From: codesite-nore...@google.com
Date: Mon, 21 Jul 2008 14:25:04 -0700
Local: Mon, Jul 21 2008 5:25 pm
Subject: [textpattern commit] r2947 - development/4.0/textpattern/include
Author: r...@vanmelick.com
Date: Mon Jul 21 14:24:59 2008
New Revision: 2947

Modified:
   development/4.0/textpattern/include/txp_category.php

Log:
fix [2929] MySQL operator precedence was a bit different than expected

Modified: development/4.0/textpattern/include/txp_category.php
=========================================================================== ===
--- development/4.0/textpattern/include/txp_category.php        (original)
+++ development/4.0/textpattern/include/txp_category.php        Mon Jul 21
14:24:59 2008
@@ -179,7 +179,7 @@
                                $used = safe_column('DISTINCT category', 'txp_'.$type, '1=1');
                        }

-                       $rs = safe_rows('id, name', 'txp_category', "id IN (".join(',',
$things).") AND type='".$type."' AND rgt - lft = 1 AND NOT name IN
('".join("','", doSlash($used))."')");
+                       $rs = safe_rows('id, name', 'txp_category', "id IN (".join(',',
$things).") AND type='".$type."' AND rgt - lft = 1 AND name NOT IN
('".join("','", doSlash($used))."')");

                        if ($rs)
                        {


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google