Skip to content

Commit

Permalink
Item12548: fix error odd number of elements in anonymous hash when ca…
Browse files Browse the repository at this point in the history
…lled from the cmdline, e.g. tick-foswiki

git-svn-id: http://svn.foswiki.org/trunk/PiwikPlugin@16837 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Jul 17, 2013
1 parent 3ebcee0 commit f9dea39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/PiwikPlugin.pm
Expand Up @@ -21,7 +21,7 @@ use warnings;
use Foswiki::Func ();
use Error qw(:try);

use version; our $VERSION = version->declare("v1.99.2");
use version; our $VERSION = version->declare("v1.99.3");
our $RELEASE = '15 Jul 2013';
our $SHORTDESCRIPTION = 'Server-side page tracking using Piwik';
our $NO_PREFS_IN_TOPIC = 1;
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/PiwikPlugin/Tracker.pm
Expand Up @@ -63,7 +63,7 @@ sub init {
url => $request->url(-full=>1, -path=>1, -query=>1),
urlref => $request->referer || '',
ua => $request->userAgent || '',
lang => $request->header("accept-language"),
lang => $request->header("accept-language") || '',
h => $hour,
m => $min,
s => $sec,
Expand Down

0 comments on commit f9dea39

Please sign in to comment.