Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16398
Modified Files:
serendipity_functions.inc.php
Log Message:
mysql 3.x does not support a simple 'JOIN', so an 'INNER' one is needed.
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.450
retrieving revision 1.451
diff -u -d -r1.450 -r1.451
--- serendipity_functions.inc.php 22 Oct 2004 17:31:09 -0000 1.450
+++ serendipity_functions.inc.php 26 Oct 2004 13:32:19 -0000 1.451
@@ -592,7 +592,7 @@
c.category_icon,
c.parentid
FROM {$serendipity['dbPrefix']}category AS c
- JOIN {$serendipity['dbPrefix']}entrycat AS ec
+ INNER JOIN {$serendipity['dbPrefix']}entrycat AS ec
ON ec.categoryid = c.categoryid
WHERE ec.entryid = {$entryid}";
|