No more lightdb:delete v3

This commit is contained in:
xdrm-brackets 2017-09-14 16:03:55 +02:00
parent 33f0e967bb
commit 22d7e65bb7
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@
/* (2) On ajoute les données aux fichier */ /* (2) On ajoute les données aux fichier */
$json_data = json_encode($data); $json_data = json_encode($data);
$this->driver->seek($this->line); $this->driver->seek($already_line);
$this->line++; $this->line++;
$written = $this->driver->fwrite( $json_data.PHP_EOL ); $written = $this->driver->fwrite( $json_data.PHP_EOL );