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