Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
fix placeholder in manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmi3yy committed Feb 27, 2014
1 parent 0386344 commit e0dfb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/includes/document.parser.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ function mergePlaceholderContent($content) {
$key = $matches[1][$i];
if ($key && is_array($this->placeholders) && array_key_exists($key, $this->placeholders))
$v = $this->placeholders[$key];
elseif ($v === '')
if ($v === '')
unset($matches[0][$i]); // here we'll leave empty placeholders for last.
else
$replace[$i] = $v;
Expand Down

0 comments on commit e0dfb90

Please sign in to comment.