X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fcontrollers%2FPathController.php;h=bb969e82c8ed6b15888a6cf9de01adc0510c7a4e;hp=b521a2688f9f6f86d8c378e5098d8de57664d761;hb=a3870411b5c5217e7b2f063d2929fc2e14daa962;hpb=1d1b5940442782d78f796d8608e63328e2e8783b diff --git a/application/controllers/PathController.php b/application/controllers/PathController.php index b521a26..bb969e8 100644 --- a/application/controllers/PathController.php +++ b/application/controllers/PathController.php @@ -24,14 +24,14 @@ class PathController extends Zend_Controller_Action $formData = $this->_helper->SyjPostData->getPostData('Syj_Form_Geom'); $path = $this->getPath(); $this->save($path, $formData); - $this->_helper->SyjApi->setCode(204); + $this->_helper->SyjApi->setCode(200); // we should use 204, but ie mangles 204 to 1223 } public function deleteAction() { $path = $this->getPath(); $pathMapper = new Syj_Model_PathMapper(); $pathMapper->delete ($path); - $this->_helper->SyjApi->setCode(204); + $this->_helper->SyjApi->setCode(200); // we should use 204, but ie mangles 204 to 1223 } public function getPath() {