RomanL 8 年 前
親
コミット
ea2192a1b1
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      inc/classes/BxDolCmtsQuery.php

+ 1 - 1
inc/classes/BxDolCmtsQuery.php

@@ -145,7 +145,7 @@ class BxDolCmtsQuery extends BxDolDb
                     if (count($aSortFields) == 0)
                         array_push($aSortFields, '`' . $this->_sTable . '`.`id`');
                     
-                    $sOrder = " ORDER BY " . implode(',', $aSortFields) . " " . $aOrder['way'];
+                    $sOrder = " ORDER BY " . implode($aOrder['way'] . ', ', $aSortFields) . " " . $aOrder['way'];
                     break;
             }
         }