]> git.mxchange.org Git - mailer.git/commitdiff
Doublicate translation of status fixed
authorRoland Häder <roland@mxchange.org>
Thu, 27 Nov 2008 23:51:19 +0000 (23:51 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 27 Nov 2008 23:51:19 +0000 (23:51 +0000)
inc/databases.php
inc/libs/surfbar_functions.php

index dbc806f85874f2973e3d3ef77ee1c2e5c85ca174..5cebf9659d9b88e35fa498758f1e3a1d105247c3 100644 (file)
@@ -114,7 +114,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "566");
+define('CURR_SVN_REVISION', "567");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index 321a76a64e8b1f1947fe9dd14304886bbc41fee6..c183e5e0aafac1610bae4db28a06d7794ffc80c8 100644 (file)
@@ -574,7 +574,6 @@ function SURFBAR_REGISTER_URL ($url, $uid, $status="PENDING", $addMode="reg", $l
        } // END - if
 
        // Translate status and limit
-       $content['status'] = SURFBAR_TRANSLATE_STATUS($content['status']);
        $content['limit'] = SURFBAR_TRANSLATE_LIMIT($content['limit']);
 
        // If in reg-mode we notify admin
@@ -1206,7 +1205,6 @@ function SURFBAR_CHANGE_STATUS ($urlId, $prevStatus, $newStatus, $data=array())
        $data[$urlId]['frametester'] = FRAMETESTER($data[$urlId]['url']);
        $data[$urlId]['reward']      = TRANSLATE_COMMA($_CONFIG['surfbar_static_reward']);
        $data[$urlId]['costs']       = TRANSLATE_COMMA($_CONFIG['surfbar_static_costs']);
-       $data[$urlId]['status']      = SURFBAR_TRANSLATE_STATUS($newStatus);
 
        // Send admin notification
        SURFBAR_NOTIFY_ADMIN("url_{$newStatus}", $data[$urlId]);