mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-31 16:59:22 -04:00
Fix lots of warnings that pop up when we're in E_STRICT mode. They're
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
This commit is contained in:
@@ -323,7 +323,7 @@ class Admin_Users_Controller extends Admin_Controller {
|
||||
return $form;
|
||||
}
|
||||
|
||||
private function _add_locale_dropdown(&$form, $user=null) {
|
||||
private static function _add_locale_dropdown(&$form, $user=null) {
|
||||
$locales = locales::installed();
|
||||
foreach ($locales as $locale => $display_name) {
|
||||
$locales[$locale] = SafeString::of_safe_html($display_name);
|
||||
|
||||
Reference in New Issue
Block a user