diff --git a/app/code/community/Gemgento/Push/Model/Observer.php b/app/code/community/Gemgento/Push/Model/Observer.php index 9c6f4d5..2d29f6d 100644 --- a/app/code/community/Gemgento/Push/Model/Observer.php +++ b/app/code/community/Gemgento/Push/Model/Observer.php @@ -534,7 +534,7 @@ public function store_save($observer) { */ public function push($action, $path, $id, $data) { $data_string = json_encode(Array('data' => $data)); - $url = $this->gemgento_url() . $path . (empty($id) ? '' : "/{$id}"); + $url = $this->gemgento_url() . $path . (!is_numeric($id) && empty($id) ? '' : "/{$id}"); $parts = parse_url($url); switch ($parts['scheme']) {