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

dev #14141 fix fatal error on displayList call in CVS helper

parent a513f7ea
Branches
Tags
4 merge requests!2080Sandbox detach zf from storm,!2061Master,!1954Dev#14141 record availability on search result,!1949Dev#14141 record availability on search result
......@@ -16,7 +16,7 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
......@@ -24,13 +24,11 @@
class ZendAfi_View_Helper_ListeCVSNotices extends ZendAfi_View_Helper_ListeNotices {
public function listeCVSNotices($notices,$nombre_resultats,$page,$preferences) {
return
!$nombre_resultats
? '<span>'.
$this->view->_('Aucun document trouvé').
'</span>'
: '<div class="cvs_record_list">'.
$this->displayList('',$notices,$preferences).
'</div>';
return $nombre_resultats
? $this->_tag('div',
$this->_displayList('', $notices, $preferences),
['class' => 'cvs_record_list'])
: $this->_tag('span',
$this->_('Aucun document trouvé');
}
}
\ No newline at end of file
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