Explorar o código

extend error messaging

andre %!s(int64=2) %!d(string=hai) anos
pai
achega
156e3f6f3f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cwp7.php

+ 1 - 1
cwp7.php

@@ -71,7 +71,7 @@ function cwp7_Testconnection($params) {
 	}
 	return array(
         'success' => false,
-        'error' => $response['error_msg'],
+        'error' => $response['error_msg'] ? $response['error_msg'] : $response['msj'],
     );
 }