diff --git a/lib/installer.php b/lib/installer.php
index 044bc9a13d109fa871f370df885e5a98fb1d7826..67947279e701e4e318775ed3bf3977b62fc67292 100644
--- a/lib/installer.php
+++ b/lib/installer.php
@@ -297,7 +297,7 @@ class OC_Installer{
 			include(OC::$APPSROOT."/apps/$app/appinfo/install.php");
 		}
 		$info=OC_App::getAppInfo($app);
-		OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion('version']));
+		OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion('version'));
 		return $info;
 	}
 }