Skip to content

Commit

Permalink
Fix incorrect use of '$this' when accessing a static method
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Klingele committed Sep 27, 2016
1 parent 28be067 commit f668070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static function getDatabaseConfigValueOrDefault($key) {
if (self::getDatabaseConfigValue('is_set_up') === true) {
return self::getDatabaseConfigValue($key);
}
$default = $this->getDefaultValue($key);
$default = self::getDefaultValue($key);
if ($default !== null) {
return $default;
}
Expand Down

0 comments on commit f668070

Please sign in to comment.