Welcome Guest, Not a member yet? Register   Sign In
Error Set_Value default value empty
#1

PHP Code:
function set_value(string $fieldstring $default ''bool $html_escape true): string 

There is no check if the $default value is empty or not.
A possible solutions could be

PHP Code:
if (empty(@$default)){$default='';} 
Reply
#2

Hi, I'm afraid I don't quite understand what is wrong with having an empty string as default.

Can you show me some code and details on your problem.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB