Update lguplus.api.php

This commit is contained in:
Namhyeon Go 2019-10-08 14:32:04 +09:00 committed by GitHub
parent 7c46532d7a
commit b94d647e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ function lguplus_send_message($message, $to="") {
"error" => false
);
if(array_key_equals("lguplus_enabled", $cnf, 0)) {
if(!array_key_equals("lguplus_enabled", $cnf, 1)) {
$data['error'] = "this is disabled. please set lguplus_enabled to 1";
return $data;
}