From 3c6a1692cee919f5855c8637642bc3cd5c3df89a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 19 Dec 2010 13:34:58 +0000 Subject: [PATCH] fixed PHP notice --- lam/lib/baseModule.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/baseModule.inc b/lam/lib/baseModule.inc index fd258c31..498012ad 100644 --- a/lam/lib/baseModule.inc +++ b/lam/lib/baseModule.inc @@ -536,7 +536,7 @@ abstract class baseModule { */ public function check_profileOptions($options) { $messages = array(); - if (is_array($this->meta['profile_checks'])) { + if (isset($this->meta['profile_checks'])) { $identifiers = array_keys($this->meta['profile_checks']); for ($i = 0; $i < sizeof($identifiers); $i++) { // empty input