Untitled
public text v1 · immutable// Check for errors
if ( $_SESSION['error'] != NULL ) {
global $libehc;
$error = $libehc->ErReport( $errorCode );
$templateTags['ERROR'] = '<div class="main-error">'.$error.'</div>';
$_SESSION['error'] = NULL;
} else {
$templateTags['ERROR'] = NULL;
}