1. Improved DAO.class.php, when no results returned for "select" sql, return false;
[acontent.git] / docs / home / classes / ContentUtility.class.php
index cb18256..bc0834f 100644 (file)
@@ -790,12 +790,6 @@ class ContentUtility {
                                return array($has_text_alternative, $has_audio_alternative, $has_visual_alternative, $has_sign_lang_alternative);\r
                        }\r
                }\r
-               // All a4a resources have "&" converted to "&". To match content with resources, \r
-        // need the same conversion on content. \r
-        $content = convertAmp($content);\r
-        \r
-        // keep < (content saved in plain text format) as it is instead of <\r
-        $content = str_replace('<', '<', $content);\r
         \r
                // get all relations between primary resources and their alternatives\r
         $sql = "SELECT DISTINCT c.content_path, pr.resource, ";\r