Commit 5bfc71e6 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'commentfix-v1-0-x' into 'v1.0.x'

Commentfix v1 0 x



See merge request !15
parents 9446e30f 576139d5
Pipeline #271 passed with stages
in 2 minutes and 23 seconds
# Utility functions
# Copyright (C) 2008-2014, AllWorldIT
# Copyright (C) 2008-2016, AllWorldIT
#
# 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
......@@ -373,7 +373,7 @@ sub isBoolean
# Nuke whitespaces
$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) {
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