Some theme fixes, debug system now forced (true)
[mailer.git] / inc / libs / wernis_functions.php
index 635b33885232ad16be439c04586abed6feb44b00..ee8a5d9958e5b862c6d23bd7c02efd03fd3bedca 100644 (file)
@@ -170,7 +170,7 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData =  array()) {
                                break;
 
                        default: // Unknown error (maybe new?)
-                               DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown error %s from WDS66 API received.", $data[1]));
+                               DEBUG_LOG(__FUNCTION__, __LINE__, sprintf("Unknown error %s from WDS66 API received.", $data[1]));
                                $return = array(
                                        'status'  => "request_failed",
                                        'message' => sprintf(WERNIS_API_REQUEST_FAILED, $data[1])