fix bug #481886 with anonymous hint from sourceforge trackers :-)
authorteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 20 Nov 2001 22:17:01 +0000 (22:17 +0000)
committerteepe <teepe@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 20 Nov 2001 22:17:01 +0000 (22:17 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1784 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/abook_local_file.php

index 26588d1..d473169 100644 (file)
         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();
 
        // 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();