Quellcode durchsuchen

Fix for PHP 8.2 beta2

PHP E_DEPRECATED: Creation of dynamic property is deprecated
Visman vor 2 Jahren
Ursprung
Commit
cb67651e9b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app/Models/Report/Reports.php

+ 1 - 1
app/Models/Report/Reports.php

@@ -89,7 +89,7 @@ class Reports extends Manager
      */
     public function lastId(): int
     {
-        $last = $this->list = $this->c->Cache->get('report');
+        $last = $this->c->Cache->get('report');
 
         if (null === $last) {
             $query = 'SELECT MAX(r.id)