• R/O
  • HTTP
  • SSH
  • HTTPS

nucleus-plugins: Commit

Nucleus CMS日本語版用プラグインのうち、日本語版開発者がサポートしているもの


Commit MetaInfo

Revisionb9e11e2d74ae374a6b2d846918b91fa76ff2886b (tree)
Time2006-11-27 09:42:57
Authorshizuki <shizuki@1ca2...>
Commitershizuki

Log Message

sql_query() に「引数渡さずに実行」してました orz

git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@496 1ca29b6e-896d-4ea0-84a5-967f57386b96

Change Summary

Incremental Difference

--- a/trunk/NP_ShowBlogs/NP_ShowBlogs.php
+++ b/trunk/NP_ShowBlogs/NP_ShowBlogs.php
@@ -760,7 +760,7 @@ $monthlimit = 0;
760760 $subcatTable = sql_table('plug_multiple_categories_sub');
761761 $que = 'SELECT scatid, parentid, sname FROM %s WHERE parentid = %d';
762762 $que = sprintf($que, $subcatTable, intval($subcat_id));
763- $res = sql_query();
763+ $res = sql_query($que);
764764 while ($so = mysql_fetch_object($res)) {
765765 $r .= $this->getChildren(intval($so->scatid)) . '/' . intval($so->scatid);
766766 }
Show on old repository browser