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 26588d117801eeea8cae662b9c7f49d72f26384b..d47316955add5c1d5e8cec75dfa06d673e1bf119 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();