removed extra comma breaking SQL statement v1.1
authorGreg Gay <info@atutor.ca>
Mon, 22 Nov 2010 16:24:12 +0000 (16:24 -0000)
committerGreg Gay <info@atutor.ca>
Mon, 22 Nov 2010 16:24:12 +0000 (16:24 -0000)
docs/home/classes/ContentUtility.class.php

index 1582343..1a217de 100644 (file)
@@ -795,7 +795,7 @@ class ContentUtility {
                }\r
         \r
                // get all relations between primary resources and their alternatives\r
-        $sql = "SELECT DISTINCT c.content_path, pr.resource, , prt.type_id primary_type,\r
+        $sql = "SELECT DISTINCT c.content_path, pr.resource,  prt.type_id primary_type,\r
                        sr.secondary_resource, srt.type_id secondary_type\r
                          FROM ".TABLE_PREFIX."primary_resources pr, ".\r
                                 TABLE_PREFIX."primary_resources_types prt,".\r