mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fix test for PHP 5.6
This commit is contained in:
parent
bdb4104f9c
commit
153cf33aa7
@ -324,6 +324,11 @@ class e107
|
||||
|
||||
foreach ($tmp as $line)
|
||||
{
|
||||
if(empty($line))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
$line = str_replace($search, $replace, $line); // Quick-fix allow for use of {THEME} shortcode.
|
||||
|
||||
if (strpos($line,'{') === false)
|
||||
|
@ -54,7 +54,7 @@ class e107Test extends \Codeception\Test\Unit
|
||||
$LAYOUT = file_get_contents(e_THEME."bootstrap3/theme.html");
|
||||
ob_start();
|
||||
|
||||
$this->e107::renderLayout($LAYOUT);
|
||||
e107::renderLayout($LAYOUT);
|
||||
|
||||
$result = ob_get_clean();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user