OSDN Git Service

fix SQL query
authorshizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Tue, 3 Oct 2006 13:53:11 +0000 (13:53 +0000)
committershizuki <shizuki@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Tue, 3 Oct 2006 13:53:11 +0000 (13:53 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@410 1ca29b6e-896d-4ea0-84a5-967f57386b96

trunk/NP_RecentItems/NP_RecentItems.php

index e92bbb1..ae1025d 100644 (file)
@@ -60,8 +60,8 @@ class NP_RecentItems extends NucleusPlugin
                                ' c.cname as category, i.icat as catid, i.iclosed as closed';
                
                $query .= ' FROM '                      // <mod by shizuki />
-                               . sql_table('category') . ' as c,'
                                . sql_table('member') . ' as m, '
+                               . sql_table('category') . ' as c,'
                                . sql_table('item') . ' as i'
                        . ' WHERE i.iblog = ' . intval($blogObj->getID())
                        . ' AND i.iauthor = m.mnumber'