mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
better checking for existing value
This commit is contained in:
parent
1763bd1bae
commit
fd4a821fa8
|
@ -906,7 +906,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
(!empty($value['type']) ? ' type="'.$value['type'].'"' : '').
|
||||
(!empty($value['id']) ? ' id="'.$value['id'].'"' : '').
|
||||
(!empty($value['name']) ? ' name="'.$value['name'].'"' : '').
|
||||
(is_string($value['value']) || !empty($value['value']) ? ' value="'.$value['value'].'"' : '').
|
||||
((isset($value['value']) && is_string($value['value'])) || !empty($value['value']) ? ' value="'.$value['value'].'"' : '').
|
||||
(!empty($value['placeholder']) ? ' placeholder="'.$value['placeholder'].'"' : '').
|
||||
(!empty($value['autocomplete']) ? ' autocomplete="'.$value['autocomplete'].'"' : '').
|
||||
(!empty($value['checked']) ? ' checked' : '').
|
||||
|
|
Loading…
Reference in New Issue
Block a user