diff --git a/framework/Db/lib/Horde/Db/Adapter/Base/Schema.php b/framework/Db/lib/Horde/Db/Adapter/Base/Schema.php index 1a9ef6776f9..27c690c7240 100644 --- a/framework/Db/lib/Horde/Db/Adapter/Base/Schema.php +++ b/framework/Db/lib/Horde/Db/Adapter/Base/Schema.php @@ -900,7 +900,7 @@ public function typeToSql($type, $limit = null, $precision = null, $sql = is_array($native) ? $native['name'] : $native; if ($type == 'decimal' || - isset($native['precision']) || isset($native['scale']) || + is_array($native) && (isset($native['precision']) || isset($native['scale'])) || isset($precision) || isset($scale)) { $nativePrec = isset($native['precision']) ? $native['precision'] : null; $nativeScale = isset($native['scale']) ? $native['scale'] : null;