[Piwik-svn] r194 - trunk/modules/API
svnmaster at piwik.org
svnmaster at piwik.org
Fri Jan 18 18:11:28 CET 2008
Author: matt
Date: 2008-01-18 18:11:27 +0100 (Fri, 18 Jan 2008)
New Revision: 194
Modified:
trunk/modules/API/Proxy.php
Log:
doc
Modified: trunk/modules/API/Proxy.php
===================================================================
--- trunk/modules/API/Proxy.php 2008-01-18 17:02:49 UTC (rev 193)
+++ trunk/modules/API/Proxy.php 2008-01-18 17:11:27 UTC (rev 194)
@@ -253,7 +253,7 @@
if($exampleUrl !== false)
{
$lastNUrls = '';
- if( ereg('(date)',$exampleUrl))
+ if( ereg('(&period)|(&date)',$exampleUrl))
{
$exampleUrlRss1 = $prefixUrls . $this->getExampleUrl($class, $methodName, array('date' => 'last10')) ;
$exampleUrlRss2 = $prefixUrls . $this->getExampleUrl($class, $methodName, array('date' => 'last5','period' => 'week',));
More information about the Piwik-svn
mailing list