Quicksearch - error in s9y 1.4beta2

Creating and modifying plugins.
Post Reply
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Quicksearch - error in s9y 1.4beta2

Post by Don Chambers »

The quicksearch plugin does not have any configuration options. In 1.4, every sidebar plugin has an edit link on the frontend for logged in users. This includes the quicksearch plugin.

Clicking on that link produces this error for the quicksearch plugin:

Code: Select all

Warning: Invalid argument supplied for foreach() in \mypath\include\functions_plugins_admin.inc.php on line 378
=Don=
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Quicksearch - error in s9y 1.4beta2

Post by garvinhicking »

Hi!

Yeah..querying if a plugin does have config options would have a huge impact on the performance of the whole loop. Since 90% of all plugins have config options, I'd actually like to leave it at that.

I'll simply get rid of this error message when a plugin has no config options, thank you!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Don Chambers
Regular
Posts: 3657
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Sounds like a good idea. Thanks Garvin.
=Don=
Post Reply