aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 16:04:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 16:04:45 +0000
commit8e2370d2a4fef87d03da7e490d8c4e5cf92baca0 (patch)
tree7b63ab09473b3248d829599e0d738955dcb5e51c
parentc13f548c43aac69f121363ffafc77a6571a71df1 (diff)
downloadelgg-8e2370d2a4fef87d03da7e490d8c4e5cf92baca0.tar.gz
elgg-8e2370d2a4fef87d03da7e490d8c4e5cf92baca0.tar.bz2
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
-rw-r--r--engine/lib/metadata.php2
1 files changed, 1 insertions, 1 deletions
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;