Skip to content

Commit

Permalink
Se le pone el valor por defecto
Browse files Browse the repository at this point in the history
  • Loading branch information
idmarinas committed May 15, 2017
1 parent a825e5d commit 6ad30fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function clearsettings()
$settings = new settings("settings");
}

function getsetting($settingname, $default)
function getsetting($settingname, $default = false)
{
global $settings;

Expand Down

0 comments on commit 6ad30fa

Please sign in to comment.