Ver código fonte

prevent sql error while initializing apps on sqlite2

tags/v3.0
Robin Appelman 12 anos atrás
pai
commit
273972b75a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      lib/appconfig.php

+ 1
- 1
lib/appconfig.php Ver arquivo

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

Carregando…
Cancelar
Salvar