diff --git a/api/src/Framework.php b/api/src/Framework.php index cee9e2bf66..c83ee654e6 100644 --- a/api/src/Framework.php +++ b/api/src/Framework.php @@ -722,7 +722,6 @@ abstract class Framework extends Framework\Extra * @param string $password =null password --------- " ---------- * @param array $opts =array() further params for http(s) context, eg. array('timeout' => 123) * @return resource|null context to use with file_get_context/fopen or null if no proxy configured - * @noinspection UnsupportedStringOffsetOperationsInspection */ public static function proxy_context($username=null, $password=null, array $opts = array()) { @@ -1110,7 +1109,7 @@ abstract class Framework extends Framework\Extra $GLOBALS['egw_info']['flags']['java_script'] = preg_replace(array('/(]*>)([^<]*)/is','/<\/script>/'),array('$2',''),$GLOBALS['egw_info']['flags']['java_script']); if(trim($GLOBALS['egw_info']['flags']['java_script']) != '') { - $java_script .= '\n"; + $java_script .= '\n"; } } @@ -1695,7 +1694,6 @@ abstract class Framework extends Framework\Extra $list = array(); foreach((array)$_account_ids as $account_id) { - /** @noinspection SuspiciousLoopInspection */ foreach($account_id < 0 && $_resolve_groups ? $GLOBALS['egw']->accounts->members($account_id, true) : array($account_id) as $account_id) { diff --git a/api/src/Html.php b/api/src/Html.php index bb3d02fa54..4e775d7fd3 100644 --- a/api/src/Html.php +++ b/api/src/Html.php @@ -1,5 +1,4 @@ -top.egw_ready.then(() => { const egw=top.egw, jQuery=top.jQuery; jQuery(function() {if(jQuery().chosen) jQuery('select[name=\"$name\"]').chosen({width: '100%'});});})\n"; + $out .= "\n"; } return $out; } @@ -470,8 +469,8 @@ class Html '