Project

General

Profile

« Previous | Next » 

Revision 535

Added by doc almost 17 years ago

Bug fix for ticket 525. Prevents that installed modules with identical version are updated again.

View differences:

install.php
76 76
	if(file_exists(WB_PATH.'/modules/'.$module_directory.'/info.php')) {
77 77
		require(WB_PATH.'/modules/'.$module_directory.'/info.php');
78 78
		// Version to be installed is older than currently installed version
79
		if ($module_version>$new_module_version) {
79
		if ($module_version>=$new_module_version) {
80 80
			if(file_exists($temp_file)) { unlink($temp_file); } // Remove temp file
81 81
			$admin->print_error($MESSAGE['GENERIC']['ALREADY_INSTALLED']);
82 82
		}

Also available in: Unified diff