mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-30 05:16:28 +02:00
[SMS STOP] accepte également le mot stop en minuscule
This commit is contained in:
parent
34ac15272d
commit
a03787bc53
1 changed files with 19 additions and 19 deletions
|
@ -246,7 +246,7 @@
|
|||
$text = $content_file[1];
|
||||
|
||||
//On gère les SMS STOP
|
||||
if (trim($text) == 'STOP')
|
||||
if (strtoupper(trim($text)) == 'STOP')
|
||||
{
|
||||
echo 'STOP SMS detected ' . $number . "\n";
|
||||
$this->wlog('STOP SMS detected ' . $number);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue