Quellcode durchsuchen

fix bug #481886 with anonymous hint from sourceforge trackers :-)

teepe vor 23 Jahren
Ursprung
Commit
41939d4219
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      functions/abook_local_file.php

+ 1 - 2
functions/abook_local_file.php

@@ -276,7 +276,6 @@
 	 return $this->set_error(_("Could not lock datafile"));
 
        // Read file into memory, ignoring nicknames to delete
-       $this->open();
        @rewind($this->filehandle);
        $i = 0;
        $rows = array();
@@ -313,7 +312,7 @@
 
        // Read file into memory, modifying the data for the 
        // user identifyed by $alias
-       $this->open();
+       $this->open(true);
        @rewind($this->filehandle);
        $i = 0;
        $rows = array();