Add return value to generate_hash_to_api function

Former-commit-id: b6420e14ab59c08c661a11763edaaa52ad612af8
This commit is contained in:
fermin831 2019-01-24 13:38:13 +01:00
parent f9113fa2e5
commit 072ad0a1ea
1 changed files with 1 additions and 1 deletions

View File

@ -3399,7 +3399,7 @@ function validate_csrf_code() {
}
function generate_hash_to_api(){
hash('sha256', db_get_value ('value', 'tupdate_settings', '`key`', 'customer_key'));
return (string)hash('sha256', db_get_value ('value', 'tupdate_settings', '`key`', 'customer_key'));
}
/**