fix issue PHP8.1 ZIP::addGlob gives an error , name too long

This commit is contained in:
sparkyx 2024-03-11 22:10:13 +01:00
parent 1484886cfa
commit 4bd53c202b
4 changed files with 40 additions and 6 deletions

View file

@ -58,7 +58,7 @@ class Progress_Bar
$this->db=new Database();
$this->task_id=$p_task_id;
// Find value from db
$this->value = $this->db->exec_sql("select p_value from progress where p_id=$1",
$this->value = $this->db->get_value("select p_value from progress where p_id=$1",
[$p_task_id]);
// if task doesn't exists, create it