mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Minor fixes
Former-commit-id: 71698d61db59e7f94fb8c770715decb0fe6e5f0f
This commit is contained in:
parent
342e4b78c9
commit
e80649073f
@ -1200,7 +1200,7 @@ sub pandora_get_tconfig_token ($$$) {
|
||||
my ($dbh, $token, $default_value) = @_;
|
||||
|
||||
my $token_value = get_db_value ($dbh, "SELECT value FROM tconfig WHERE token = ?", $token);
|
||||
if (defined ($token_value)) {
|
||||
if (defined ($token_value) && $token_value ne '') {
|
||||
return safe_output ($token_value);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user