Skip to content

Commit

Permalink
fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneld committed Jun 2, 2024
1 parent 2596f63 commit 8982fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions-sms.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ function delnote($number,$bikeNum,$message)
$reportedBy=$row["userName"];

$matches=explode(" ",$message,3);
$userNote=$db->escape(trim($matches[2]));
$userNote=$db->escape(trim($matches[2] ?? ''));

if($userNote=='')
{
Expand Down

0 comments on commit 8982fd9

Please sign in to comment.