Remove optimization, was causing trouble...
This commit is contained in:
parent
7621de3337
commit
7bd19444d5
@ -598,10 +598,6 @@ class serendipity_event_entryproperties extends serendipity_event
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'frontend_entryproperties':
|
case 'frontend_entryproperties':
|
||||||
if (is_array($eventData[0]['properties'])) {
|
|
||||||
// Skip fetching entryproperties again, it has already been done in functions_entries::fetchEntry().
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
$and = $this->returnQueryCondition($is_cache);
|
$and = $this->returnQueryCondition($is_cache);
|
||||||
$q = "SELECT entryid, property, value FROM {$serendipity['dbPrefix']}entryproperties WHERE entryid IN (" . implode(', ', array_keys($addData)) . ") $and";
|
$q = "SELECT entryid, property, value FROM {$serendipity['dbPrefix']}entryproperties WHERE entryid IN (" . implode(', ', array_keys($addData)) . ") $and";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user