Permalink
Browse files

Fixed a little typo on PostgreSQL code

  • Loading branch information...
moodler
moodler committed Sep 3, 2003
1 parent 203add2 commit 29622339379d23a345719aaf0b5795d859ca601a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -114,7 +114,7 @@ function table_column($table, $oldfield, $field, $type="integer", $size="10",
case "postgres7": // From Petri Asikainen
//Check db-version
$dbinfo = $db->ServerInfo();
- $dbver = substr($dbinfo[version],0,3);
+ $dbver = substr($dbinfo['version'],0,3);
$field = "$field";
//to prevent conflicts with reserved words

0 comments on commit 2962233

Please sign in to comment.