Get the id before using it
This commit is contained in:
parent
3115d66d60
commit
2747a83a49
|
@ -259,8 +259,9 @@ class Cache {
|
|||
}
|
||||
|
||||
// The file was created in the mean time
|
||||
$id = $this->getId($file);
|
||||
$this->update($id, $data);
|
||||
return $this->getId($file);
|
||||
return $id;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue