Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの
Revision | b9e11e2d74ae374a6b2d846918b91fa76ff2886b (tree) |
---|---|
Time | 2006-11-27 09:42:57 |
Author | shizuki <shizuki@1ca2...> |
Commiter | shizuki |
sql_query() に「引数渡さずに実行」してました orz
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@496 1ca29b6e-896d-4ea0-84a5-967f57386b96
@@ -760,7 +760,7 @@ $monthlimit = 0; | ||
760 | 760 | $subcatTable = sql_table('plug_multiple_categories_sub'); |
761 | 761 | $que = 'SELECT scatid, parentid, sname FROM %s WHERE parentid = %d'; |
762 | 762 | $que = sprintf($que, $subcatTable, intval($subcat_id)); |
763 | - $res = sql_query(); | |
763 | + $res = sql_query($que); | |
764 | 764 | while ($so = mysql_fetch_object($res)) { |
765 | 765 | $r .= $this->getChildren(intval($so->scatid)) . '/' . intval($so->scatid); |
766 | 766 | } |