Hi !
Something like this :

/usr/share/awstats/plugins/geoip_city_maxmind.pm

sub SectionProcessIp_geoip_city_maxmind {

-- $city = $record->city
++ my $city;
++ if ($record) {
++        $city=$record->city
++    };

But keep in mind - it just quik workaround, problem is probably more deeper.

WBR,
Alexey Bestchekov


On 1/13/06, Charles Fry <[EMAIL PROTECTED] > wrote:
Hi,

You said previously:

    "as for me i just added one more check as a quik workaround
    "if ($record) { $city = $record->city };"

Could you please specify exactly where this line should go (a patch
would be helpful)?

thanks,
Charles

--
The answer to
A shaver's dream
A greaseless
No brush
Shaving cream
Burma-Shave
http://burma-shave.org/jingles/1934/the_answer_to


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDxyDxhiAFUap5uRoRAhIxAKCCUs0jNzxS6fzNlWLd1Ez97/89AACgsEmg
6ZKz1UnESPrnthTGjUXN9HM=
=XUOy
-----END PGP SIGNATURE-----



Reply via email to