From c2c3195307b03893edfbcbcbafc6a946c6bc00b6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sun, 14 Oct 2012 21:24:10 +0200 Subject: [PATCH] Fixed package name, thanks @Gravatronics --- wcfsetup/install/files/lib/data/package/Package.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/package/Package.class.php b/wcfsetup/install/files/lib/data/package/Package.class.php index 8b1ffed6f8..33a1978eb7 100644 --- a/wcfsetup/install/files/lib/data/package/Package.class.php +++ b/wcfsetup/install/files/lib/data/package/Package.class.php @@ -538,7 +538,7 @@ class Package extends DatabaseObject { $dependencyDir = FileUtil::addTrailingSlash(FileUtil::getRealPath(WCF_DIR.$dependency->packageDir)); $prefix = strtoupper(Package::getAbbreviation($dependency->package)); - $file->write("// ".$dependency->packageName." (packageID ".$dependency->packageID.")\n"); + $file->write("// ".$dependency->package." (packageID ".$dependency->packageID.")\n"); $file->write("if (!defined('".$prefix."_DIR')) define('".$prefix."_DIR', ".($dependency->packageID == $package->packageID ? "dirname(__FILE__).'/'" : "'".$dependencyDir."'").");\n"); $file->write("if (!defined('".$prefix."_N')) define('".$prefix."_N', '".WCF_N."_".$dependency->instanceNo."');\n"); $file->write("\n"); -- 2.20.1