summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2012-03-25 17:18:02 +0200
committerChristoph Brill <egore911@egore911.de>2012-03-26 00:31:33 +0200
commitc2425197078ea02b2bdf438cf6058ff2f271f94e (patch)
treee3892261d04d6331b8b0632b84e73afbf918cab4 /index.php
parent90f356f29dd05ac709e7b1babc70c84beb2c0b64 (diff)
replace split() with explode()
split() is deprecated.
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5c87782..b85f2cc 100644
--- a/index.php
+++ b/index.php
@@ -29,7 +29,7 @@ $highlight_names = isset($_GET['highlight_names']) ? $_GET['highlight_names'] :
if ($highlight_names == '') {
$users = array();
} else {
- $users = split(';', $highlight_names);
+ $users = explode(';', $highlight_names);
}
if (isset($_GET['highlight_names'])) {
setcookie('stored_users', $highlight_names, time()+2592000);