mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +01:00
quitened these stupid php5.2/mb_string warnings
This commit is contained in:
parent
61eb991338
commit
33d333f56f
@ -253,7 +253,7 @@ class xajaxResponse
|
|||||||
//we need to parse the query part so that the values are rawurlencode()'ed
|
//we need to parse the query part so that the values are rawurlencode()'ed
|
||||||
//can't just use parse_url() cos we could be dealing with a relative URL which
|
//can't just use parse_url() cos we could be dealing with a relative URL which
|
||||||
// parse_url() can't deal with.
|
// parse_url() can't deal with.
|
||||||
$queryStart = strpos($sURL, '?', strrpos($sURL, '/'));
|
$queryStart = strpos($sURL, '?', @strrpos($sURL, '/'));
|
||||||
if ($queryStart !== FALSE)
|
if ($queryStart !== FALSE)
|
||||||
{
|
{
|
||||||
$queryStart++;
|
$queryStart++;
|
||||||
@ -539,7 +539,7 @@ class xajaxResponse
|
|||||||
$xml = "<cmd";
|
$xml = "<cmd";
|
||||||
foreach($aAttributes as $sAttribute => $sValue)
|
foreach($aAttributes as $sAttribute => $sValue)
|
||||||
$xml .= " $sAttribute=\"$sValue\"";
|
$xml .= " $sAttribute=\"$sValue\"";
|
||||||
if ($sData !== null && !stristr($sData,'<![CDATA['))
|
if ($sData !== null && !@stristr($sData,'<![CDATA['))
|
||||||
$xml .= "><![CDATA[$sData]]></cmd>";
|
$xml .= "><![CDATA[$sData]]></cmd>";
|
||||||
else if ($sData !== null)
|
else if ($sData !== null)
|
||||||
$xml .= ">$sData</cmd>";
|
$xml .= ">$sData</cmd>";
|
||||||
|
Loading…
Reference in New Issue
Block a user