svn: /pear/pearweb/trunk/public_html/ release-upload.php

[email protected] ("Daniel O'Connor")
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
clockwerx                                Tue, 29 Jun 2010 00:57:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=300842

Log:
Bug #17533 	Releases and roles do not seem to work.

Bug: http://pear.php.net/bugs/17533 (unknown) 
      
Changed paths:
    U   pear/pearweb/trunk/public_html/release-upload.php

Modified: pear/pearweb/trunk/public_html/release-upload.php
===================================================================
--- pear/pearweb/trunk/public_html/release-upload.php	2010-06-29 00:52:27 UTC (rev 300841)
+++ pear/pearweb/trunk/public_html/release-upload.php	2010-06-29 00:57:58 UTC (rev 300842)
@@ -122,6 +122,11 @@
             }
             $users = array();
             foreach ($info->getMaintainers() as $user) {
+                if (!user::exists($user['handle'])) {
+                    $errors[] = 'Unknown user: ' . $user['handle'];
+                    continue;
+                }
+
                 $users[strtolower($user['handle'])] = array(
                     'role'   => $user['role'],
                     'active' => !isset($user['active']) || $user['active'] == 'yes',
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.