Fixes error message text
authorMatthias Schmidt <gravatronics@live.com>
Sat, 18 May 2013 16:39:24 +0000 (18:39 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 18 May 2013 16:39:24 +0000 (18:39 +0200)
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index 261cf9c3d7800a74b9989d6c6fb3fd2648c6c518..4bcadbeb74c672085c40aa9a5020d921300de81c 100644 (file)
@@ -256,7 +256,7 @@ class PackageInstallationDispatcher {
                                // check version requirements
                                if ($requirementData['minVersion']) {
                                        if (Package::compareVersion($row['packageVersion'], $requirementData['minVersion']) < 0) {
-                                               throw new SystemException("Package '".$nodeData['packageName']."' requires the package '".$row['packageName']."' in version '".$requirementData['minVersion']."', but version '".$row['packageVersion']."'");
+                                               throw new SystemException("Package '".$nodeData['packageName']."' requires package '".$row['packageName']."' in version '".$requirementData['minVersion']."', but only version '".$row['packageVersion']."' is installed");
                                        }
                                }
                        }