More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / modules / guest / what-confirm.php
index 1562cc006e4a9ad084fe24673458e40a94d2f787..42dbdc82ed94013a4af702142cc4aaacf1e37267 100644 (file)
@@ -47,7 +47,7 @@ addMenuDescription('guest', __FILE__);
 // Init content
 $content = array(
        'message' => getMessage('GUEST_CONFIRMED_FAILED'),
-       'userid'  => '0',
+       'userid'  => 0,
 );
 
 if (isGetRequestElementSet('hash')) {
@@ -80,7 +80,7 @@ if (isGetRequestElementSet('hash')) {
                                        updateReferalCounter($rid);
 
                                        // Shall I 'pay' the referal points imidiately?
-                                       if (getConfig('ref_payout') == '0') {
+                                       if (getConfig('ref_payout') == 0) {
                                                // Yes, 'pay' it now
                                                $locked = false;
                                        } else {