Project

General

Profile

« Previous | Next » 

Revision df5da531

Added by Ermal LUÇI about 15 years ago

Missed curly.

View differences:

etc/inc/pkg-utils.inc
276 276
function uninstall_package_from_name($pkg_name) {
277 277
	global $config;
278 278
	$id = get_pkg_id($pkg_name);
279
	if ($id >= 0)
279
	if ($id >= 0) {
280 280
		$pkg_depends =& $config['installedpackages']['package'][$id]['depends_on_package'];
281 281
		delete_package($pkg_depends[0], $pkg_name);
282 282
		if (is_array($pkg_depends)) {

Also available in: Unified diff