summaryrefslogtreecommitdiffstats
path: root/apis/clientlog.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'apis/clientlog.inc.php')
-rw-r--r--apis/clientlog.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apis/clientlog.inc.php b/apis/clientlog.inc.php
index b68e4632..29838dfc 100644
--- a/apis/clientlog.inc.php
+++ b/apis/clientlog.inc.php
@@ -9,7 +9,7 @@
if (empty($_POST['type'])) die('Missing options.');
$type = mb_strtolower($_POST['type']);
-if ($type{0} === '~' || $type{0} === '.') {
+if ($type[0] === '~' || $type[0] === '.') {
if (Module::isAvailable('statistics')) {
require 'modules/statistics/api.inc.php';
}