Fix countSmileyCategories in vB
authorTim Düsterhus <timwolla@googlemail.com>
Wed, 11 Dec 2013 13:09:46 +0000 (14:09 +0100)
committerTim Düsterhus <timwolla@googlemail.com>
Wed, 11 Dec 2013 13:09:46 +0000 (14:09 +0100)
files/lib/system/exporter/VB3or4xExporter.class.php

index d54ae0b5591d215bead7c3a04299eb738c1fe532..9b408ae5438a4e6fe59280bb60cb81737a46798c 100644 (file)
@@ -1288,8 +1288,7 @@ class VB3or4xExporter extends AbstractExporter {
        public function countSmileyCategories() {
                $sql = "SELECT          COUNT(*) AS count
                        FROM            ".$this->databasePrefix."imagecategory
-                       WHERE           imagetype = ?
-                       ORDER BY        imagecategoryid ASC";
+                       WHERE           imagetype = ?";
                $statement = $this->database->prepareStatement($sql);
                $statement->execute(array(3));
                $row = $statement->fetchArray();