diff modules/user/user.module @ 15:4347c45bb494 6.7

Drupal 6.7
author Franck Deroche <webmaster@defr.org>
date Tue, 23 Dec 2008 14:32:44 +0100
parents 589fb7c02327
children 3edae6ecd6c6
line wrap: on
line diff
--- a/modules/user/user.module	Tue Dec 23 14:32:33 2008 +0100
+++ b/modules/user/user.module	Tue Dec 23 14:32:44 2008 +0100
@@ -1,5 +1,5 @@
 <?php
-// $Id: user.module,v 1.892.2.8 2008/10/08 20:12:18 goba Exp $
+// $Id: user.module,v 1.892.2.9 2008/11/05 14:13:03 dries Exp $
 
 /**
  * @file
@@ -482,7 +482,7 @@
   static $perm = array();
 
   if ($reset) {
-    unset($perm);
+    $perm = array();
   }
 
   if (is_null($account)) {