Commit eba048e5 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'commentfix-master' into 'master'

Fixed comments



See merge request !14
parents 706fa1e3 576139d5
Pipeline #270 passed with stages
in 1 minute and 59 seconds
# Utility functions # Utility functions
# Copyright (C) 2008-2014, AllWorldIT # Copyright (C) 2008-2016, AllWorldIT
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
...@@ -373,7 +373,7 @@ sub isBoolean ...@@ -373,7 +373,7 @@ sub isBoolean
# Nuke whitespaces # Nuke whitespaces
$var =~ s/\s//g; $var =~ s/\s//g;
# Allow true, on, set, enabled, 1, false, off, unset, disabled, 0 # Allow true, on, set, enabled, yes, 1, false, off, unset, disabled, no, 0
if ($var =~ /^(?:true|on|set|enabled|yes|1)$/i) { if ($var =~ /^(?:true|on|set|enabled|yes|1)$/i) {
return 1; return 1;
} }
......
Supports Markdown
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