Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/myrho/horde into myrho-master
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Schneider <jan@horde.org>
  • Loading branch information
yunosh committed Mar 3, 2014
2 parents 849696b + 0785697 commit 0df689e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Db/lib/Horde/Db/Adapter/Base/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0df689e

Please sign in to comment.