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