Remove unused variable
authorOlaf Braun <info@braun-development.de>
Wed, 15 Nov 2023 08:53:30 +0000 (09:53 +0100)
committerOlaf Braun <info@braun-development.de>
Wed, 15 Nov 2023 08:53:30 +0000 (09:53 +0100)
wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php

index 06b4b2c235aa0ad4b12376caf70c6880add080e2..96557e27a54a5d182c1514c7d5280e0296c40e74 100644 (file)
@@ -299,7 +299,7 @@ class DateFormField extends AbstractFormField implements
             } elseif ($this->getValueDateTimeObject() === null) {
                 try {
                     $this->value($value);
-                } catch (\InvalidArgumentException $e) {
+                } catch (\InvalidArgumentException) {
                     $this->value = null;
                 }
             }