]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/wernis_functions.php
Tried to fix installer a bit + added missing language string.
[mailer.git] / inc / libs / wernis_functions.php
index e01bcb9c31c0fc0813eb3fc47c8e21c0faec19bc..af6a5cd3b0dfa608a6484a73b3496c07f388a7f9 100644 (file)
@@ -563,7 +563,7 @@ function doDisplayWernisUserRegistrationForm () {
 
                        // Status was okay?
                        if (isHttpResponseStatusOkay($args)) {
-                               // Is status set?
+                               // Is auth_status set?
                                //* DEBUG-DIE */ die('response=<pre>' . print_r($response, TRUE) . '</pre>,args=' . '<pre>'.print_r($args, TRUE).'</pre>');
                                assert(isset($args['auth_status']));
 
@@ -743,7 +743,7 @@ function getWernisMappedDataFromApiByChallenge ($challenge, $challengeResponse,
                                reportBug(__FUNCTION__, __LINE__, 'Cannot map from=' . $from . ' -> to=' . $to . ': element does not exist.');
                        } // END - if
 
-                       // "Map" all
+                       // "Map" all and make empty strings to NULL
                        $return['mapped_data'][$to] = convertEmptyToNull($userData[$from]);
                } // END - foreach