Skip to content
Snippets Groups Projects

hotline#182633 : fix Nanook Unique restoration when no library related

Compare and
1 file
+ 1
3
Preferences
Compare changes
@@ -172,9 +172,7 @@ class Cosmo_IntegrationController extends ZendAfi_Controller_Action{
$library->setVisibilite(Class_Bib::V_NODATA)->save();
}
if (Class_IntBib::countBy(['id_bib' => $this->_getParam('id')])>0)
Class_IntBib::deleteBy(['id_bib' => $this->_getParam('id')]);
$int_bib->delete();
return $this->_redirectClose('/cosmo/index/index');
}