mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
get rid of php notice undefined variable: channel
This commit is contained in:
parent
315a0d4ac0
commit
0b851a622b
@ -362,7 +362,7 @@ function pear_check($package,$args)
|
||||
global $passed_icon, $warning_icon;
|
||||
static $pear_available = null;
|
||||
static $channel_packages = array();
|
||||
|
||||
$channel = '';
|
||||
if (strpos($package, '/') !== false)
|
||||
{
|
||||
list($channel, $package) = explode('/', $package);
|
||||
|
Loading…
Reference in New Issue
Block a user