1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Issue #1356 - Installation and PHP notice fixes.

This commit is contained in:
Cameron
2016-02-15 11:09:58 -08:00
parent 4314bb625b
commit 9f96a70e76
5 changed files with 69 additions and 58 deletions

View File

@@ -1473,7 +1473,7 @@ class e_parse extends e_parser
// Make sure we have a valid count for word wrapping
if (!$wrap && $pref['main_wordwrap'])
if (!$wrap && !empty($pref['main_wordwrap']))
{
$wrap = $pref['main_wordwrap'];
}
@@ -1785,7 +1785,7 @@ class e_parse extends e_parser
// profanity filter
if ($pref['profanity_filter'])
if (!empty($pref['profanity_filter']))
{
if (!is_object($this->e_pf))
{