diff options
author | Bot <bot@myigel.name> | 2017-01-03 14:12:17 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2017-01-03 15:32:59 +0100 |
commit | 55141154c083acc2d0397f4c62b4e0be1c7a19fa (patch) | |
tree | 7e5e54a19f7df976fa68c42f21f1484112a7c257 /includes/model/Message_model.php | |
parent | 356b2582f3e6a43ecf2607acad4a7fe0b37f659a (diff) |
Replaced " with '
Diffstat (limited to 'includes/model/Message_model.php')
-rw-r--r-- | includes/model/Message_model.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/model/Message_model.php b/includes/model/Message_model.php index 57277fbe..e998ba04 100644 --- a/includes/model/Message_model.php +++ b/includes/model/Message_model.php @@ -7,7 +7,7 @@ */ function Message_ids() { - return sql_select("SELECT `id` FROM `Messages`"); + return sql_select('SELECT `id` FROM `Messages`'); } /** @@ -42,10 +42,10 @@ function Message_send($receiver_user_id, $text) global $user; $text = preg_replace("/([^\p{L}\p{P}\p{Z}\p{N}\n]{1,})/ui", '', strip_tags($text)); - $receiver_user_id = preg_replace("/([^0-9]{1,})/ui", '', strip_tags($receiver_user_id)); + $receiver_user_id = preg_replace('/([^0-9]{1,})/ui', '', strip_tags($receiver_user_id)); if ( - ($text != "" && is_numeric($receiver_user_id)) + ($text != '' && is_numeric($receiver_user_id)) && (sql_num_query(" SELECT * FROM `User` |