Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_entryproperties
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10650/plugins/serendipity_event_entryproperties
Modified Files:
Tag: branch-smarty
serendipity_event_entryproperties.php
Log Message:
* fixed entryproperties caching (cough, cough)
* fixed recent entries plugin (variable garbage)
* fixed some E_NOTICE errors to be nicer to PHP's error reporting
Index: serendipity_event_entryproperties.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_entryproperties/Attic/serendipity_event_entryproperties.php,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -d -r1.1.2.8 -r1.1.2.9
--- serendipity_event_entryproperties.php 16 Nov 2004 14:55:19 -0000 1.1.2.8
+++ serendipity_event_entryproperties.php 16 Nov 2004 15:23:42 -0000 1.1.2.9
@@ -258,9 +258,9 @@
$conds[] = 'ep_sticky.value IS NULL AS orderkey,';
}
- if ($iscache && (!isset($addData['noCache']) || !$addData['noCache'])) {
- $conds[] = 'ep_cache_extended,';
- $conds[] = 'ep_cache_body,';
+ if ($is_cache && (!isset($addData['noCache']) || !$addData['noCache'])) {
+ $conds[] = 'ep_cache_extended.value AS ep_cache_extended,';
+ $conds[] = 'ep_cache_body.value AS ep_cache_body,';
}
if (count($conds) < 1) {
|