From 8e2370d2a4fef87d03da7e490d8c4e5cf92baca0 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 26 Mar 2011 16:04:45 +0000 Subject: added defaults for value_type and owner_guid to create_metadata - refs https://github.com/lorea/Elgg/commit/451d79f8b88023bfea40167027345d226b928dcf git-svn-id: http://code.elgg.org/elgg/trunk@8844 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/metadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/lib/metadata.php b/engine/lib/metadata.php index cc9212711..f1bd69895 100644 --- a/engine/lib/metadata.php +++ b/engine/lib/metadata.php @@ -65,7 +65,7 @@ function elgg_delete_metadata_by_id($id) { * * @return int/bool id of metadata or FALSE if failure */ -function create_metadata($entity_guid, $name, $value, $value_type, $owner_guid, +function create_metadata($entity_guid, $name, $value, $value_type = '', $owner_guid = 0, $access_id = ACCESS_PRIVATE, $allow_multiple = false) { global $CONFIG; -- cgit v1.2.3