Typo in path_redirect_load_by_path

andypost - November 3, 2009 - 11:29
Project:Path redirect
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:andypost
Status:closed
Description

There's a comma in sql causing

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' AND language IN ('', '') ORDER BY language DESC LIMIT 0, 1' at line 1 query: SELECT * FROM d6__path_redirect WHERE path = 'cat/57', AND language IN ('', '') ORDER BY language DESC LIMIT 0, 1 in /var/local/mods/path_redirect/path_redirect.module on line 287.

AttachmentSize
path_redirect.patch931 bytes

#1

Dave Reid - November 3, 2009 - 23:56
Status:needs review» fixed

Jeebus that's what I get for coding late at night! Committed to CVS. Thanks. :)

#2

System Message - November 18, 2009 - 00:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.