Browse Source

prevent sql error while initializing apps on sqlite2

tags/v3.0
Robin Appelman 12 years ago
parent
commit
273972b75a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/appconfig.php

+ 1
- 1
lib/appconfig.php View File

@@ -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();

Loading…
Cancel
Save