check if message exists
This commit is contained in:
parent
3ff406d053
commit
1dc31bcb1b
|
@ -1,5 +1,5 @@
|
|||
<script src="/assets/js/functions.js"></script>
|
||||
<?php if ($message): ?>
|
||||
<?php if (!empty($message)): ?>
|
||||
<script>setError('<?= $message ?>')</script>
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue