cvs: pearweb /public_html/pepr pepr-proposal-edit.php
| From: | Pierre-Alain Joye | Date: | Wed, 12 Jul 2006 14:17:34 +0000 |
| Subject: | cvs: pearweb /public_html/pepr pepr-proposal-edit.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4849@lists.php.net to get a copy of this message | ||
pajoye Wed Jul 12 14:17:34 2006 UTC
Modified files:
/pearweb/public_html/pepr pepr-proposal-edit.php
Log:
- fix arg order in strpos (Thx Sara to have catched *and* reported it :)
http://cvs.php.net/viewvc.cgi/pearweb/public_html/pepr/pepr-proposal-edit.php?r1=1.44&r2=1.45&diff_format=u
Index: pearweb/public_html/pepr/pepr-proposal-edit.php
diff -u pearweb/public_html/pepr/pepr-proposal-edit.php:1.44
pearweb/public_html/pepr/pepr-proposal-edit.php:1.45
--- pearweb/public_html/pepr/pepr-proposal-edit.php:1.44 Fri Sep 9 14:46:50 2005
+++ pearweb/public_html/pepr/pepr-proposal-edit.php Wed Jul 12 14:17:33 2006
@@ -20,7 +20,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pepr-proposal-edit.php,v 1.44 2005/09/09 14:46:50 pajoye Exp $
+ * @version $Id: pepr-proposal-edit.php,v 1.45 2006/07/12 14:17:33 pajoye Exp $
*/
auth_require('pear.pepr');
@@ -112,7 +112,7 @@
$form->addElement('textarea', 'pkg_deps', 'Package dependencies
<small>(list)</small>:', array('rows' => 6, 'cols' =>
'80'));
$form->addElement('static', '', '', 'List seperated by
linefeeds.');
-if (null != $proposal && (false === strpos('RFC', $proposal->pkg_category))) {
+if (null != $proposal && (false === strpos($proposal->pkg_category, 'RFC'))) {
$form->addElement('static', '', '', '<small>'
. (('draft' == $proposal->status)? 'The first two links are required for a change
of status.<br />': '') . 'The first link must be of type <PEAR
package file>.</small>');
}