We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e86a9 commit 80db7edCopy full SHA for 80db7ed
src/RaspAP/Plugins/PluginInstaller.php
@@ -78,7 +78,7 @@ public function getUserPlugins()
78
79
if (!empty($plugin['namespace'])) {
80
foreach ($installedPlugins as $installedPlugin) {
81
- if (str_contains($installedPlugin['class'], $plugin['namespace'])) {
+ if (strpos($installedPlugin['class'], $plugin['namespace']) !== false) {
82
$installed = true;
83
break;
84
}
0 commit comments