mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: Prevent function collisions with Laravel (#8166)
Make function call compatible drop insensitive starts_with and ends_with for now as they aren't needed.
This commit is contained in:
committed by
Neil Lathwood
parent
1ee7d51f7a
commit
b2762d9fa7
@@ -44,7 +44,7 @@ sysObjectID: $full_sysObjectID
|
||||
$continue = get_user_input("We already detect this device as OS $os type, do you want to continue to add sensors? (Y/n)");
|
||||
}
|
||||
|
||||
if (!str_contains($continue, 'y', true)) {
|
||||
if (!str_i_contains($continue, 'y')) {
|
||||
$descr = get_user_input('Enter the description for this OS, i.e Cisco IOS:');
|
||||
$icon = get_user_input('Enter the logo to use, this can be the name of an existing one (i.e: cisco) or the url to retrieve one:');
|
||||
|
||||
|
Reference in New Issue
Block a user