From 42698c08b68e140a00845f82ca1854e7e167b7da Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 21 Dec 2006 14:10:59 +0000 Subject: [PATCH] some more stupid php5.2 fixes --- phpgwapi/inc/class.preferences.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.preferences.inc.php b/phpgwapi/inc/class.preferences.inc.php index 6ab60851f6..c202d7b3af 100644 --- a/phpgwapi/inc/class.preferences.inc.php +++ b/phpgwapi/inc/class.preferences.inc.php @@ -193,7 +193,7 @@ { foreach($data as $key => $val) { - if (!is_array($val) && strstr($val,'$$') !== False) + if (!is_array($val) && strpos($val,'$$') !== False) { $this->data[$app][$key] = $this->parse_notify($val); } @@ -201,7 +201,7 @@ { foreach($val as $k => $v) { - if (!is_array($v) && strstr($v,'$$') !== False) + if (!is_array($v) && strpos($v,'$$') !== False) { $this->data[$app][$key][$k] = $this->parse_notify($v); } @@ -826,7 +826,7 @@ return $email; } $prefs_email_address = $GLOBALS['egw']->accounts->id2name($account_id); - if (strstr($prefs_email_address,'@') === False) + if (strpos($prefs_email_address,'@') === False) { $prefs_email_address .= '@' . $GLOBALS['egw_info']['server']['mail_suffix']; }