From 273972b75af17b228a57c7cf8258ea31f2e2e3bc Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 20 Oct 2011 01:16:48 +0200 Subject: [PATCH] prevent sql error while initializing apps on sqlite2 --- lib/appconfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/appconfig.php b/lib/appconfig.php index f43ef14173..2b5cef59ad 100644 --- a/lib/appconfig.php +++ b/lib/appconfig.php @@ -47,7 +47,7 @@ class OC_Appconfig{ */ public static function getApps(){ // No magic in here! - $query = OC_DB::prepare( 'SELECT DISTINCT( appid ) FROM *PREFIX*appconfig' ); + $query = OC_DB::prepare( 'SELECT DISTINCT appid FROM *PREFIX*appconfig' ); $result = $query->execute(); $apps = array();