Skip to content

Commit

Permalink
Update ($previousVersion = false) for PHP7 comparability
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartgpalmer committed Oct 18, 2017
1 parent 3566239 commit d4a8256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.driver.php
Expand Up @@ -38,7 +38,7 @@ public function install() {
");
}

public function update($previousVersion) {
public function update($previousVersion = false) {
// Pre v1.1 (v1.0.1) had a column named `order` which is a reserved keyword in MySQL
// which could not be used in SQL queries
if(version_compare($previousVersion, '1.1', '<')) {
Expand Down

0 comments on commit d4a8256

Please sign in to comment.