From c179167850b6c44679deb9edd4a816243addb52d Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 3 Dec 2007 21:15:32 +0100 Subject: getUserData should really be implemented always... (FS#1272) ... but with this patch DokuWiki will not break completely when left out for trustExternal() auth backends darcs-hash:20071203201532-7ad00-72dbc2d16e4c8c09cca9558286164f4d858c19ce.gz --- inc/common.php | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/common.php') diff --git a/inc/common.php b/inc/common.php index 96980e7ee..ec500d906 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1061,6 +1061,7 @@ function subscriber_addresslist($id){ foreach ($mlist as $who) { $who = rtrim($who); $info = $auth->getUserData($who); + if($info === false) continue; $level = auth_aclcheck($id,$who,$info['grps']); if ($level >= AUTH_READ) { if (strcasecmp($info['mail'],$conf['notify']) != 0) { -- cgit v1.2.3