mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Fixed a little typo on PostgreSQL code
This commit is contained in:
parent
203add24ab
commit
2962233937
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue