Commit cfff96b8 authored by Gregory Roussac's avatar Gregory Roussac

// Can't use method return value in write context

parent c1303551
......@@ -31,7 +31,7 @@
</div>
</div>
{/if}
{if count($errors) && !empty(array_shift($errors)) && (!isset($disableDefaultErrorOutPut) || $disableDefaultErrorOutPut == false)}
{if count($errors) && array_shift($errors) != '' && (!isset($disableDefaultErrorOutPut) || $disableDefaultErrorOutPut == false)}
<div class="bootstrap">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment