mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
kill php5.2 warnings
This commit is contained in:
parent
56fb1e7052
commit
8e647edc80
@ -69,7 +69,7 @@
|
|||||||
{
|
{
|
||||||
$tname = &$name['name'];
|
$tname = &$name['name'];
|
||||||
}
|
}
|
||||||
$tname = (strstr($tname,'.') === False && !empty($tname) ?
|
$tname = (@strstr($tname,'.') === False && !empty($tname) ?
|
||||||
(is_array($load_via) ? $load_via['name'] : $load_via).'.':'').$tname;
|
(is_array($load_via) ? $load_via['name'] : $load_via).'.':'').$tname;
|
||||||
|
|
||||||
if (empty($tname) || !$this->read($name,'','',0,'',$load_via))
|
if (empty($tname) || !$this->read($name,'','',0,'',$load_via))
|
||||||
@ -147,7 +147,7 @@
|
|||||||
function expand_name($name,$c,$row,$c_='',$row_='',$cont='')
|
function expand_name($name,$c,$row,$c_='',$row_='',$cont='')
|
||||||
{
|
{
|
||||||
$is_index_in_content = $name[0] == '@';
|
$is_index_in_content = $name[0] == '@';
|
||||||
if (strstr($name,'$') !== False)
|
if (@strstr($name,'$') !== False)
|
||||||
{
|
{
|
||||||
if (!$cont)
|
if (!$cont)
|
||||||
{
|
{
|
||||||
@ -206,7 +206,7 @@
|
|||||||
}
|
}
|
||||||
$Ok = False;
|
$Ok = False;
|
||||||
$pat = $org_idx;
|
$pat = $org_idx;
|
||||||
while (!$Ok && ($pat = strstr($pat,'$')))
|
while (!$Ok && ($pat = @strstr($pat,'$')))
|
||||||
{
|
{
|
||||||
$pat = substr($pat,$pat[1] == '{' ? 2 : 1);
|
$pat = substr($pat,$pat[1] == '{' ? 2 : 1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user