X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_ldap.inc;h=17ae13ff4071b267c4f606dbe63bf5e69bfc1197;hb=b21c0ebad0d51dba8d8fec81c117b1250bf48323;hp=6ae00e89623831ee284932bf2f6f8a8f13cb2410;hpb=e0330b4132b45fbbf8ba0cecf0e2e7964dab6ab2;p=gosa.git diff --git a/include/class_ldap.inc b/include/class_ldap.inc index 6ae00e896..17ae13ff4 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -445,7 +445,7 @@ class LDAP{ */ function copy_FAI_resource_recursive($sourcedn,$destinationdn,$destinationName,$type="branch",$is_first = true,$depth=0) { - error_reporting(E_ALL); + error_reporting(E_ALL | E_STRICT); if($is_first){ echo "

".sprintf(_("Creating copy of %s"),"".@LDAP::fix($sourcedn)."")."

"; @@ -857,7 +857,7 @@ class LDAP{ $url= preg_replace('!\?\?.*$!', '', $url); $server= preg_replace('!^([^:]+://[^/]+)/.*$!', '\\1', $url); - if ($referrals == NULL){ + if ($referrals === NULL){ $referrals= $this->referrals; }