PHP8.1 Compatibility

This commit is contained in:
sparkyx 2024-05-21 18:30:14 +02:00
commit 80712433f9

View file

@ -236,7 +236,7 @@ class Acc_Plan_MTable extends Manage_Table_SQL
$text=new IText($p_key);
$text->setReadOnly($readonly);
$text->value=$p_value;
$min_size=(strlen($p_value)<30)?30:strlen($p_value)+5;
$min_size=(strlen($p_value??"")<30)?30:strlen($p_value)+5;
$text->size=$min_size;
echo $text->input();
}