Skip to content
Snippets Groups Projects
Commit 56a92b30 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

fix test failure

parent 7d0d024c
Branches
Tags
4 merge requests!896Master,!811Stable,!808Stable,!804Hotline #23465 fix bib url
......@@ -82,10 +82,10 @@ class Admin_ZoneController extends ZendAfi_Controller_Action
$this->view->titre = $this->view->_('Placement des bibliothèques sur la carte');
if(!$zone = Class_Zone::find($this->_request->getParam('id_zone')))
$this->_redirect('admin/zone/index');
return $this->_redirect('admin/zone/index');
if(!$bibs = $zone->getVisibleBibs())
$this->_redirect('admin/zone/index');
return $this->_redirect('admin/zone/index');
if ($this->_request->isPost()) {
foreach($bibs as $bib) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment