#20207 [NEW]: No Default values for $sapp and $lapp in getHelpArgs function
| From: | shiva at io dot com | Date: | Fri, 01 Nov 2002 06:53:24 +0000 |
| Subject: | #20207 [NEW]: No Default values for $sapp and $lapp in getHelpArgs function | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10404@lists.php.net to get a copy of this message | ||
From: shiva@io.com
Operating system:
PHP version: 4.2.3
PHP Bug Type: PEAR related
Bug description: No Default values for $sapp and $lapp in getHelpArgs function
PHP4/PEAR/Command/Common.php (v 1.18 2002/10/12 13:43:41) has a function
called getHelpArgs in which variables $sapp and $lapp have no default
values set. It is possible to get the following errors when using a "pear
help install" command:
Notice: Undefined variable: sapp in Common.php on line 209
Notice: Undefined variable: lapp in Common.php on line 209
because the "if (isset($v['arg']))" test has no "else" clause.
--
Edit bug report at http://bugs.php.net/?id=20207&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20207&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20207&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20207&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20207&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20207&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20207&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20207&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20207&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20207&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20207&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20207&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20207&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20207&r=isapi