Re: Bug #14297 [NEW]: Optiosn::setOption missing default return value
| From: | Kevin van Zonneveld | Date: | Thu, 17 Jul 2008 09:03:11 +0000 |
| Subject: | Re: Bug #14297 [NEW]: Optiosn::setOption missing default return value | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-4892@lists.php.net to get a copy of this message | ||
Hi,
I get an: "No such bug #14297", if I follow the
http://pear.php.net/bugs/bug.php?id=14297&edit=1
link
I fixed the issue in SVN
(http://trac.phpjs.org/projects/system_daemon/browser/trunk/System/Daemon/Options.php)
though. Thanks for pointing this out.
On Sun, Jul 6, 2008 at 9:02 PM, clwells at nexcess dot net
<pear-qa@lists.php.net> wrote:
> From: #e9b51ed65edf0a6d6cb
> Operating system: CentOS 4
> Package version: 0.4.0
> PHP version: 5.2.6
> Package: System_Daemon
> Bug Type: Bug
> Bug description: Optiosn::setOption missing default return value
>
> Description:
> ------------
> Was checking the return value of System_Daemon::setOptions and it's always
> false because System_Daemon_Options::setOption returns false on error but
> has no default return value on success. Inserting 'return true;' on line
> 118 of System_Daemon/Options.php fixed.
>
>
> --
> Edit bug report at
> http://pear.php.net/bugs/bug.php?id=14297&edit=1
> --
>
>
--
Met vriendelijke groet / Kind regards,
Kevin van Zonneveld
http://kevin.vanzonneveld.net