Skip to content

Commit

Permalink
Fixed a little typo on PostgreSQL code
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Sep 3, 2003
1 parent 203add2 commit 2962233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datalib.php
Expand Up @@ -114,7 +114,7 @@ function table_column($table, $oldfield, $field, $type="integer", $size="10",
case "postgres7": // From Petri Asikainen case "postgres7": // From Petri Asikainen
//Check db-version //Check db-version
$dbinfo = $db->ServerInfo(); $dbinfo = $db->ServerInfo();
$dbver = substr($dbinfo[version],0,3); $dbver = substr($dbinfo['version'],0,3);


$field = "$field"; $field = "$field";
//to prevent conflicts with reserved words //to prevent conflicts with reserved words
Expand Down

0 comments on commit 2962233

Please sign in to comment.