[Pkg-owncloud-commits] [owncloud] 09/111: Don't set a default value when there isn't a default specified
David Prévot
taffit at moszumanska.debian.org
Wed Nov 20 21:38:35 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit dcca887f18c06751094e0076633a31ec982c4365
Author: Bart Visscher <bartv at thisnet.nl>
Date: Mon Nov 11 17:58:21 2013 +0100
Don't set a default value when there isn't a default specified
---
lib/private/db/mdb2schemareader.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/db/mdb2schemareader.php b/lib/private/db/mdb2schemareader.php
index b7128a2..ad4c39a 100644
--- a/lib/private/db/mdb2schemareader.php
+++ b/lib/private/db/mdb2schemareader.php
@@ -186,7 +186,7 @@ class MDB2SchemaReader {
}
}
if (isset($name) && isset($type)) {
- if (empty($options['default'])) {
+ if (isset($options['default']) && empty($options['default'])) {
if (empty($options['notnull']) || !$options['notnull']) {
unset($options['default']);
$options['notnull'] = false;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list