We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c28fdd commit 6bc895eCopy full SHA for 6bc895e
1 file changed
templates/ss_servcheck.php
@@ -93,7 +93,7 @@ function ss_servcheck(string $cmd = 'index', string $arg1 = '', string $arg2 = '
93
WHERE id = ?',
94
[$index]);
95
96
- $value = 'ok' ? 1 : 0;
+ $value = (int) ($value === 'ok');
97
98
break;
99
}
0 commit comments