https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38365

David Cook <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #193297|0                           |1
        is obsolete|                            |

--- Comment #213 from David Cook <[email protected]> ---
Created attachment 193950
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193950&action=edit
Bug 38365: Fix no-op //= operator on variable declarations

The //= (defined-or assignment) operator on a freshly declared
variable is a no-op since the variable is always undef at that
point. Replace with simple = assignment.

Affects header_name(), header_value(), and is_enabled() methods.

Signed-off-by: David Cook <[email protected]>
Signed-off-by: Lari Taskula <[email protected]>
Signed-off-by: David Cook <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to