projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ee7c2
)
Make json and jsonb data types display as textarea rather than 1 line input fields...
author
Robert Treat
<rob@xzilla.net>
Sun, 1 Feb 2015 19:31:07 +0000
(14:31 -0500)
committer
Robert Treat
<rob@xzilla.net>
Sun, 1 Feb 2015 19:31:07 +0000
(14:31 -0500)
classes/database/Postgres.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/database/Postgres.php
b/classes/database/Postgres.php
index 310f49c7f8ee0073476545c6dbd7e43ac777a7e7..b31bc03672a70708804a1391e6757ffcc12b50fc 100755
(executable)
--- a/
classes/database/Postgres.php
+++ b/
classes/database/Postgres.php
@@
-275,6
+275,8
@@
class Postgres extends ADODB_base {
}
case 'text':
case 'text[]':
+ case 'json':
+ case 'jsonb':
case 'xml':
case 'xml[]':
$n = substr_count($value, "\n");