]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/primera_functions.php
A lot rewrites from double-quote to single-quote, some fixes for extension handling...
[mailer.git] / inc / libs / primera_functions.php
index 0ca43bcfecf08d0937f1c4b793186238612b8f4b..1d2cee613bca845bb3e6af4cd61c65bb43465076 100644 (file)
@@ -220,7 +220,7 @@ class PrimeraApi {
 
                $this->data = $postReturn;
                if ($postReturn["status"] == self::PI_GET_PRIMERA_DONE) {
-                       $primera = $postReturn["primera"];
+                       $primera = $postReturn['primera'];
                }
                return $primera;
        }
@@ -244,7 +244,7 @@ function PRIMERA_TEST_API () {
 // Execute the withdraw of a sponsor only!
 function PRIMERA_EXECUTE_WITHDRAW ($primusNick, $userMd5, $amount) {
        // Is the sponsor extension installed?
-       if (!EXT_IS_ACTIVE("sponsor")) {
+       if (!EXT_IS_ACTIVE('sponsor')) {
                // No, abort here
                return false;
        } elseif (!IS_SPONSOR()) {