Index: trunk/phase3/includes/db/DatabasePostgres.php |
— | — | @@ -1038,7 +1038,7 @@ |
1039 | 1039 | /** |
1040 | 1040 | * @return string wikitext of a link to the server software's web site |
1041 | 1041 | */ |
1042 | | - function getSoftwareLink() { |
| 1042 | + function getSoftwareLink() { |
1043 | 1043 | return "[http://www.postgresql.org/ PostgreSQL]"; |
1044 | 1044 | } |
1045 | 1045 | |
— | — | @@ -1051,6 +1051,7 @@ |
1052 | 1052 | if (!preg_match('/PostgreSQL (\d+\.\d+)(\S+)/', $version, $thisver)) { |
1053 | 1053 | die("Could not determine the numeric version from $version!"); |
1054 | 1054 | } |
| 1055 | + $version = $thisver[1].$thisver[2]; |
1055 | 1056 | $this->numeric_version = $thisver[1]; |
1056 | 1057 | return $version; |
1057 | 1058 | } |