mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 18:21:53 +02:00
* Fix multiple calls returning the same object * fix: strtolower() passing null to parameter #1 ($string) of type string is deprecated * fix: php 8.1 Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
This commit is contained in:
parent
83d4d020ed
commit
c9de1b3b01
@ -217,7 +217,7 @@ abstract class Element extends Layout
|
||||
public function value($value): Element
|
||||
{
|
||||
$this->value = $value;
|
||||
$this->inputValue($value);
|
||||
$this->inputValue($value ?? '');
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user