Skip to content

Commit 1106b6d

Browse files
Merge pull request #16 from Turaylon/master
Adding date parameters to the options passed in the url of the resource.
2 parents 364a708 + 2ced813 commit 1106b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PrestashopWebServiceLibrary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function get($options)
265265
if (isset($options['id']))
266266
$url .= '/'.$options['id'];
267267

268-
$params = array('filter', 'display', 'sort', 'limit', 'id_shop', 'id_group_shop');
268+
$params = array('filter', 'display', 'sort', 'limit', 'id_shop', 'id_group_shop','date');
269269
foreach ($params as $p)
270270
foreach ($options as $k => $o)
271271
if (strpos($k, $p) !== false)

0 commit comments

Comments
 (0)