From eed6bf497f97954caee4345e7365801f2ebbec44 Mon Sep 17 00:00:00 2001 From: thepurpleblob Date: Mon, 13 Jun 2005 19:07:15 +0000 Subject: [PATCH] Yes, another stupid typo. --- lib/moodlelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/moodlelib.php b/lib/moodlelib.php index a0f4f3a5146..1399a1de1f3 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -6285,7 +6285,7 @@ function object_property_exists( $obj, $property ) { else { $properties = get_object_vars( $obj ); } - return array_key_exists( $properties, $property ); + return array_key_exists( $property, $properties ); }