Browse Source

extend error messaging

andre 2 năm trước cách đây
mục cha
commit
156e3f6f3f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'],
     );
 }