Changeset 5916

Show
Ignore:
Timestamp:
04/18/10 08:14:00 (3 years ago)
Author:
vdigital
Message:

Fix: Undefined index: Code

Location:
extensions/whois_online
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • extensions/whois_online/Changelog.txt.php

    r5810 r5916  
    33Plugin Name: Whois online 
    44** History ** 
     5  2010-04-18 2.0.l 
     6                                                 "Undefined index:  Code" is removed 
    57  2010-04-11 2.0.k 
    68                                                 MySQL 4.1 support 
  • extensions/whois_online/main.inc.php

    r5810 r5916  
    2323/* 
    2424Plugin Name: Whois online 
    25 Version: 2.0.k 
     25Version: 2.0.l 
    2626Description: Who is online? 
    2727Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=279 
     
    2929Author URI: http://www.vdigital.org 
    3030*/ 
    31 define('WHOIS_ONLINE_VER', '2.0.k');  
     31define('WHOIS_ONLINE_VER', '2.0.l');  
    3232global $prefixeTable, $conf; 
    3333// $conf['debug_l10n'] = true; 
  • extensions/whois_online/online.php

    r5810 r5916  
    181181                        $c['Name'] = ucwords ( strtolower( substr($c['Name'],0,-5))); 
    182182                } 
     183                else $c = Array('Code' => '__', 'Name' => l10n('Unknown country'), 'City' => 'N/A',); 
    183184        } 
    184185        else $c = Array('Code' => '__', 'Name' => l10n('Unknown country'), 'City' => 'N/A',);