From: Greg Gay Date: Mon, 22 Nov 2010 16:24:12 +0000 (-0000) Subject: removed extra comma breaking SQL statement X-Git-Tag: v1.1^0 X-Git-Url: https://iam.tj/gitweb/gitweb.cgi?p=acontent.git;a=commitdiff_plain;h=3856af9eb01b26a079d614e53ea997b6b46a2a4b removed extra comma breaking SQL statement --- diff --git a/docs/home/classes/ContentUtility.class.php b/docs/home/classes/ContentUtility.class.php index 1582343..1a217de 100644 --- a/docs/home/classes/ContentUtility.class.php +++ b/docs/home/classes/ContentUtility.class.php @@ -795,7 +795,7 @@ class ContentUtility { } // get all relations between primary resources and their alternatives - $sql = "SELECT DISTINCT c.content_path, pr.resource, , prt.type_id primary_type, + $sql = "SELECT DISTINCT c.content_path, pr.resource, prt.type_id primary_type, sr.secondary_resource, srt.type_id secondary_type FROM ".TABLE_PREFIX."primary_resources pr, ". TABLE_PREFIX."primary_resources_types prt,".