1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 02:35:56 +00:00

replace split with explode

This commit is contained in:
Andrew Dolgov
2013-04-16 20:40:23 +04:00
parent 438a3ecb04
commit a5680acbe8
4 changed files with 10 additions and 10 deletions

View File

@@ -202,7 +202,7 @@ class Pref_Users extends Handler_Protected {
}
function remove() {
$ids = split(",", db_escape_string($this->link, $_REQUEST["ids"]));
$ids = explode(",", db_escape_string($this->link, $_REQUEST["ids"]));
foreach ($ids as $id) {
if ($id != $_SESSION["uid"] && $id != 1) {
@@ -367,7 +367,7 @@ class Pref_Users extends Handler_Protected {
if ($user_search) {
$user_search = split(" ", $user_search);
$user_search = explode(" ", $user_search);
$tokens = array();
foreach ($user_search as $token) {