Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2006
    Location
    Japan
    Posts
    56
    Plugin Contributions
    0

    Default [BUG] admin/languages.php & DEFAULT_CURRENCY

    I suspect the two occurences of "DEFAULT_CURRENCY" in "admin/languages.php" (lines 307 & 312) to be a mistake, isn't it?
    Code:
            $lID = zen_db_prepare_input($_GET['lID']);
            $lng = $db->Execute("select languages_id
                                 from " . TABLE_LANGUAGES . "
                                 where code = '" . DEFAULT_CURRENCY . "'");
    
            if ($lng->fields['languages_id'] == $lID) {
              $db->Execute("update " . TABLE_CONFIGURATION . "
                            set configuration_value = ''
                            where configuration_key = 'DEFAULT_CURRENCY'");
            }
    "DEFAULT_CURRENCY" should be replaced with "DEFAULT_LANGUAGE".

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: [BUG] admin/languages.php & DEFAULT_CURRENCY

    No ... that setting is used for DEFAULT_CURRENCY which is the language code

    It is correct ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Mar 2006
    Location
    Japan
    Posts
    56
    Plugin Contributions
    0

    Default Re: [BUG] admin/languages.php & DEFAULT_CURRENCY

    I see. Sorry!

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: [BUG] admin/languages.php & DEFAULT_CURRENCY

    Not a problem ... always better to ask about something that looks odd or out of sorts than to not ask and find out it really was ... a ... umm ... you know ... bug ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Replies: 0
    Last Post: 24 Aug 2014, 05:10 PM
  2. Replies: 0
    Last Post: 20 Feb 2012, 07:09 PM
  3. Replies: 1
    Last Post: 9 Sep 2009, 12:11 PM
  4. Replies: 1
    Last Post: 24 Aug 2009, 07:53 PM
  5. [Done 1.3.8] Error in admin/languages.php
    By a_berezin in forum Bug Reports
    Replies: 0
    Last Post: 23 Oct 2007, 01:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR