"cpanel-change-password" plugin improvements

This commit is contained in:
RainLoop Team 2014-09-24 02:02:20 +04:00
parent d8dc6ee5ec
commit 67678017a8
4 changed files with 45 additions and 17 deletions

View file

@ -591,11 +591,11 @@ class Manager
{
foreach ($this->aProcessTemplate[$sName] as $sPlace => $aAddHtml)
{
if (is_array($aAddHtml) && 0 < count($aAddHtml))
if (\is_array($aAddHtml) && 0 < \count($aAddHtml))
{
foreach ($aAddHtml as $sAddHtml)
{
$sHtml = str_replace('{{INCLUDE/'.$sPlace.'/PLACE}}', $sAddHtml.'{{INCLUDE/'.$sPlace.'/PLACE}}', $sHtml);
$sHtml = \str_replace('{{INCLUDE/'.$sPlace.'/PLACE}}', $sAddHtml.'{{INCLUDE/'.$sPlace.'/PLACE}}', $sHtml);
}
}
}