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

fix sql syntax error + isAnnexeInVisible + isSectionInvisible

parent 86856e45
Branches
Tags 6.43.4
4 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!180Master,!117Master,!116Hotline 6.43
......@@ -458,13 +458,15 @@ class notice_unimarc extends iso2709_record
protected function isSectionInvisible($id) {
if (0==(int)$id)
return false;
return ($enreg = fetchEnreg('select * from codif_section where id_section=' . $id))
&& $enreg['invisible'] == 1;
}
protected function isAnnexeInvisible($id) {
return ($enreg = fetchEnreg('select * from codif_annexe where = code=\'' . $id . '\''))
return ($enreg = fetchEnreg('select * from codif_annexe where code=\'' . $id . '\''))
&& $enreg['invisible'] == 1;
}
......
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