mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +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;
|
global $passed_icon, $warning_icon;
|
||||||
static $pear_available = null;
|
static $pear_available = null;
|
||||||
static $channel_packages = array();
|
static $channel_packages = array();
|
||||||
|
$channel = '';
|
||||||
if (strpos($package, '/') !== false)
|
if (strpos($package, '/') !== false)
|
||||||
{
|
{
|
||||||
list($channel, $package) = explode('/', $package);
|
list($channel, $package) = explode('/', $package);
|
||||||
|
Loading…
Reference in New Issue
Block a user