cellog Mon Apr 30 02:50:27 2007 UTC
Modified files:
/pearweb/public_html package-edit.php
Log:
fix notice
http://cvs.php.net/viewvc.cgi/pearweb/public_html/package-edit.php?r1=1.45&r2=1.46&diff_format=u
Index: pearweb/public_html/package-edit.php
diff -u pearweb/public_html/package-edit.php:1.45
pearweb/public_html/package-edit.php:1.46
--- pearweb/public_html/package-edit.php:1.45 Thu Apr 26 21:51:51 2007
+++ pearweb/public_html/package-edit.php Mon Apr 30 02:50:27 2007
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: package-edit.php,v 1.45 2007/04/26 21:51:51 dufuz Exp $
+ $Id: package-edit.php,v 1.46 2007/04/30 02:50:27 cellog Exp $
*/
/*
@@ -116,7 +116,7 @@
if (PEAR::isError($sth)) {
report_error('Unable to save data!');
} else {
- if (is_array($_POST['tags'])) {
+ if (isset($_POST['tags']) && is_array($_POST['tags'])) {
$manager = new Tags_Manager;
$manager->clearTags($_POST['name']);
foreach ($_POST['tags'] as $tag) {
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|