mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 19:02:35 +01:00
fix phpstan (#31147)
Variable $optioncss in isset() always exists and is not nullable.
This commit is contained in:
@@ -250,7 +250,7 @@ if ($transvalue) {
|
||||
|
||||
|
||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
||||
if (isset($optioncss) && $optioncss != '') {
|
||||
if ($optioncss != '') {
|
||||
print '<input type="hidden" name="optioncss" value="'.$optioncss.'">';
|
||||
}
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||
|
||||
Reference in New Issue
Block a user