mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
fixed minor bug
This commit is contained in:
parent
ad9629d2bf
commit
e8468911ed
1 changed files with 3 additions and 3 deletions
|
@ -359,7 +359,7 @@ class PEAR_Downloader extends PEAR_Common
|
||||||
if ($info['type'] != 'pkg') {
|
if ($info['type'] != 'pkg') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$ret = $this->_processDependency($info, $mywillinstall);
|
$ret = $this->_processDependency($package, $info, $mywillinstall);
|
||||||
if ($ret === false) {
|
if ($ret === false) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -467,7 +467,7 @@ class PEAR_Downloader extends PEAR_Common
|
||||||
}
|
}
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
// {{{ _processDependency($info)
|
// {{{ _processDependency($package, $info, $mywillinstall)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Process a dependency, download if necessary
|
* Process a dependency, download if necessary
|
||||||
|
@ -476,7 +476,7 @@ class PEAR_Downloader extends PEAR_Common
|
||||||
* @return false|string|PEAR_Error
|
* @return false|string|PEAR_Error
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
function _processDependency($info, $mywillinstall)
|
function _processDependency($package, $info, $mywillinstall)
|
||||||
{
|
{
|
||||||
$state = $this->_preferredState;
|
$state = $this->_preferredState;
|
||||||
if (!isset($this->_options['alldeps']) && isset($info['optional']) &&
|
if (!isset($this->_options['alldeps']) && isset($info['optional']) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue