Browse Source

Fixed HTML if message is empty #0

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@152 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
aterekhov 15 years ago
parent
commit
b0d5f9bc93
  1. 2
      view/helpers/MsgViewHelper.php

2
view/helpers/MsgViewHelper.php

@ -45,6 +45,6 @@ class MsgViewHelper extends ViewHelper
Session::del(__CLASS__); Session::del(__CLASS__);
return '<div class="' . $msg['type'] . '">' . $this->view->escape($msg['message']) . '</div>'; return '<div class="' . $msg['type'] . '">' . $this->view->escape($msg['message']) . '</div>';
} }
return '&nbsp;';
return '';
} }
} }
Loading…
Cancel
Save