1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Issue #755 - resending of user activation email. Added fix. Requires testing.

This commit is contained in:
Cameron
2014-10-03 20:59:05 -07:00
parent a812d452d4
commit 740b8cf29a
3 changed files with 29 additions and 8 deletions

View File

@@ -1054,7 +1054,13 @@ class e_parse_shortcode
if ($scCode)
{
$ret = eval($scCode);
$ret = @eval($scCode);
if($ret === false && E107_DEBUG_LEVEL > 0) // Error in Code.
{
$string = print_a($scCode,true);
e107::getMessage()->addDebug('Could not parse Shortcode '.$scFile.' :: {'.$code .'} '.$string);
}
}
if (isset($ret) && ($ret != '' || is_numeric($ret)))