Project:Quick Admin Menus
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:starbow
Status:closed (fixed)

Issue Summary

I'm pretty exited about this module as we have extremely large menu systems and the default menu.module is quite tedious to work with larger menus.

Upon first loading the page /admin/build/qam, i get the following error: "warning: Missing argument 1 for qam_admin() in /sites/all/modules/quick_admin_menu/qam.module on line 104"

Looks like this can simply be fixed by replacing

function qam_admin( $mid ) {

with

function qam_admin( $mid=NULL ) {

in order to take care of the case when nothing is actually being passed to the function.

Comments

#1

After clicking on a menu I get another error which seems to be something of the same as above.

warning: Missing argument 2 for qam_admin_menu(), called in /sites/all/modules/quick_admin_menu/qam.module on line 134 and defined in /sites/all/modules/quick_admin_menu/qam.module on line 156.

This can be fixed by giving the $title argument on line 156 a NULL initial value as well.

#2

Assigned to:Anonymous» starbow

Thanks. This is a consequence of a late decision not to include the main default admin menu. I will roll these into -dev soon.

#3

Status:active» fixed

I think this one has been addressed.

#4

Status:fixed» closed (fixed)
nobody click here