]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix multicombobox and multitextbox controls to work with PHP 7.4
authorMarcin Haba <marcin.haba@bacula.pl>
Fri, 11 Sep 2020 05:08:22 +0000 (07:08 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Fri, 11 Sep 2020 05:08:22 +0000 (07:08 +0200)
gui/baculum/protected/Web/Portlets/DirectiveMultiComboBox.tpl
gui/baculum/protected/Web/Portlets/DirectiveMultiTextBox.tpl

index b13832528eb59a1617503e8739c0913cd5596605..468e36a89fd451d346c99fee71316dba40062d55 100644 (file)
@@ -1,6 +1,6 @@
 <com:TActiveRepeater ID="MultiComboBoxRepeater" OnItemDataBound="createMultiComboBoxElement">
        <prop:ItemTemplate>
-               <div class="directive_field w3-row w3-margin-bottom<%=!$this->Data['show'] ? ' hide' : '';%>">
+               <div class="directive_field w3-row w3-margin-bottom<%=!isset($this->Data['show']) ? ' hide' : '';%>">
                        <div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" />:</div>
                        <div class="w3-col w3-threequarter directive_value">
                                <com:TActiveDropDownList ID="Directive"
index 773245525555821a33f7a72f824c5b9333b72f91..5e9ac1add3ed0d57c69736b30e9c711059077051 100644 (file)
@@ -1,6 +1,6 @@
 <com:TActiveRepeater ID="MultiTextBoxRepeater" OnItemDataBound="createMultiTextBoxElement">
        <prop:ItemTemplate>
-               <div class="directive_field w3-row w3-margin-bottom<%=!$this->Data['show'] ? ' hide' : '';%>">
+               <div class="directive_field w3-row w3-margin-bottom<%=!isset($this->Data['show']) ? ' hide' : '';%>">
                        <div class="w3-col w3-quarter"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" />:</div>
                        <div class="w3-col w3-threequarter directive_value">
                                <com:TActiveTextBox ID="Directive"