cvs: pearweb /public_html/pepr pepr-proposal-edit.php

From: Date: Wed, 12 Jul 2006 14:40:41 +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-4848@lists.php.net to get a copy of this message
pajoye Wed Jul 12 14:40:41 2006 UTC Modified files: /pearweb/public_html/pepr pepr-proposal-edit.php Log: - strpos reverted args (Sara :) http://cvs.php.net/viewvc.cgi/pearweb/public_html/pepr/pepr-proposal-edit.php?r1=1.45&r2=1.46&diff_format=u Index: pearweb/public_html/pepr/pepr-proposal-edit.php diff -u pearweb/public_html/pepr/pepr-proposal-edit.php:1.45 pearweb/public_html/pepr/pepr-proposal-edit.php:1.46 --- pearweb/public_html/pepr/pepr-proposal-edit.php:1.45 Wed Jul 12 14:17:33 2006 +++ pearweb/public_html/pepr/pepr-proposal-edit.php Wed Jul 12 14:40:41 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.45 2006/07/12 14:17:33 pajoye Exp $ + * @version $Id: pepr-proposal-edit.php,v 1.46 2006/07/12 14:40:41 pajoye Exp $ */ auth_require('pear.pepr'); @@ -224,7 +224,7 @@ $peprNextStage = isset($_POST['submit'])? $form->getSubmitValue('next_stage'): false; if (null !== $proposal && ($peprNextStage || 'draft' !== $proposal->status)) { - if(!$isPeprRfc = (false !== strpos('RFC', $proposal->pkg_category))) { + if(!$isPeprRfc = (false !== strpos($proposal->pkg_category, 'RFC'))) { $form->addRule('link[0]', '', 'required'); $form->addRule('link[1]', '', 'required'); }

« previous php.pear.core (#4848) next »