From 5a3390fbb42a787f7c2ba4f13b6a6843d9a90c7b Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Tue, 24 Jan 2012 21:32:03 -0500 Subject: Fixes #4272 where an array of entity types can be used, use array in config object --- engine/lib/configuration.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/lib/configuration.php') diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php index 772c24930..7f787331f 100644 --- a/engine/lib/configuration.php +++ b/engine/lib/configuration.php @@ -613,4 +613,7 @@ function _elgg_load_application_config() { $viewtype = get_input('view', 'default'); $lastcached = datalist_get("simplecache_lastcached_$viewtype"); $CONFIG->lastcache = $lastcached; + + // this must be synced with the enum for the entities table + $CONFIG->entity_types = array('group', 'object', 'site', 'user'); } -- cgit v1.2.3