mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 22:32:07 +01:00
fixed warning if no name part exists
This commit is contained in:
parent
4e5a8dbc86
commit
de9280dc6b
@ -1037,9 +1037,9 @@ abstract class bo_merge
|
|||||||
}
|
}
|
||||||
if (strpos($param[0],'$$LETTERPREFIXCUSTOM') === 0)
|
if (strpos($param[0],'$$LETTERPREFIXCUSTOM') === 0)
|
||||||
{ //sets a Letterprefix
|
{ //sets a Letterprefix
|
||||||
$replaceprefix = array();
|
$replaceprefixsort = array();
|
||||||
// ToDo Stefan: $contentstart is NOT defined here!!!
|
// ToDo Stefan: $contentstart is NOT defined here!!!
|
||||||
$replaceprefix = explode(' ',substr($param[0],21,strlen($contentstart)-2));
|
$replaceprefix = explode(' ',substr($param[0],21,-2));
|
||||||
foreach ($replaceprefix as $key => $nameprefix)
|
foreach ($replaceprefix as $key => $nameprefix)
|
||||||
{
|
{
|
||||||
if ($this->replacements['$$'.$nameprefix.'$$'] !='') $replaceprefixsort[] = $this->replacements['$$'.$nameprefix.'$$'];
|
if ($this->replacements['$$'.$nameprefix.'$$'] !='') $replaceprefixsort[] = $this->replacements['$$'.$nameprefix.'$$'];
|
||||||
|
Loading…
Reference in New Issue
Block a user