cvs: pearweb /include pear-database.php
| From: | Stig Bakken | Date: | Mon, 20 May 2002 11:07:38 +0000 |
| Subject: | cvs: pearweb /include pear-database.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-3969@lists.php.net to get a copy of this message | ||
ssb Mon May 20 07:07:38 2002 EDT
Modified files:
/pearweb/include pear-database.php
Log:
* typo
Index: pearweb/include/pear-database.php
diff -u pearweb/include/pear-database.php:1.90 pearweb/include/pear-database.php:1.91
--- pearweb/include/pear-database.php:1.90 Mon May 20 06:17:07 2002
+++ pearweb/include/pear-database.php Mon May 20 07:07:37 2002
@@ -17,7 +17,7 @@
| Tomas V.V.Cox <cox@php.net> |
| Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: pear-database.php,v 1.90 2002/05/20 10:17:07 ssb Exp $
+ $Id: pear-database.php,v 1.91 2002/05/20 11:07:37 ssb Exp $
*/
require_once 'DB/storage.php';
@@ -705,7 +705,7 @@
extract($info);
@unlink($upload_ref);
- $role = user::maintains($auth_user->handle, $package);
+ $role = user::maintains($auth_user->handle, $package_id);
if ($role != 'lead' && $role != 'developer' &&
!$auth_user->admin) {
return PEAR::raiseError('release::confirmUpload: insufficient privileges');
}