Update validate_criteria.notEmpty.php

This commit is contained in:
Fraenkiman 2024-01-02 18:54:54 +01:00
parent 9577b51aca
commit 8c2d819fa2

View File

@ -36,7 +36,7 @@
function smarty_validate_criteria_notEmpty($value, $empty, &$params, &$formvars) {
// Return a message if value is empty
if(empty($value)) {
echo "Smarty plugin: value is empty!";
echo "Smarty plugin: value is empty!\n";
} else {
return strlen($value) > 0;
}