8000 Compatibility fix for php 7.4 · billz/SocksProxy@674f29d · GitHub
[go: up one dir, main page]

Skip to content

Commit 674f29d

Browse files
authored
Compatibility fix for php 7.4
1 parent bb4412b commit 674f29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SocksProxy.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function initialize(Sidebar $sidebar): void
6666
public function handlePageAction(string $page): bool
6767
{
6868
// Verify that this plugin should handle the page
69-
if (str_starts_with($page, "/plugin__" . $this->getName())) {
69+
if (strpos($page, "/plugin__" . $this->getName()) === 0) {
7070

7171
// Instantiate a StatusMessage object
7272
$status = new \RaspAP\Messages\StatusMessage;

0 commit comments

Comments
 (0)
0