1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-11-30 05:24:09 +01:00

Booksmarks: fix undefined variable

This commit is contained in:
Robin Appelman 2013-01-30 23:17:08 +01:00
parent 7bdbd7205a
commit f32d9f0806

View File

@ -53,6 +53,7 @@ class OC_Bookmarks_Bookmarks{
}
public static function findOneBookmark($id) {
$CONFIG_DBTYPE = OCP\Config::getSystemValue( 'dbtype', 'sqlite' );
if($CONFIG_DBTYPE == 'pgsql') {
$group_fct = 'array_agg(tag)';
}