Update validate_criteria.notEmpty.php

This commit is contained in:
Fraenkiman 2024-01-02 19:16:34 +01:00
parent 8c2d819fa2
commit 672f498cf6

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!\n";
echo "Smarty plugin: value is empty or null!\n";
} else {
return strlen($value) > 0;
}