VisualAppeal / Matomo-PHP-API

PHP wrapper for the Matomo API.
MIT License
95 stars 33 forks source link

Hotfix/range end date #25

Closed hackolein closed 9 years ago

hackolein commented 9 years ago

Fix the setRange(), because if you use the range e.g. "lastX", the end date must be blank. The Parameter looks like this: "date=lastX" and not "date=lastX,xx-xx-xx". The predefined dates e.g. "lastX" refers to the period e.g. "day". But if you use the period "range" the end Date bust be given. Add test case for this.