PDA

View Full Version : Error Message on Find Users


SemperFidelis
06-04-2002, 04:33 AM
Ive just finished hacking up my 2.2.6 test board.


I just noticed this when I click on Users -> Find in the Admin CP :

Warning: Missing argument 7 for makechoosercode() in /home/testsites/public_html/forums/admin/adminfunctions.php on line 312


This is what is on line 312 in adminfunctionions :

function makechoosercode ($title,$name,$tablename,$selvalue=-1,$extra="",$size=0,$tablename2,$where=0) {


Any ideas what I need to do to fix this ?
Thanks

scsa20
06-04-2002, 05:30 AM
looking in my PHP, it looks like your missing a =""....here's what I'm talking about.


function makechoosercode ($title,$name,$tablename,$selvalue=-1,$extra="",$size=0,$tablename2="",$where=0) {


see?? your $tablename2 is missing that ="" so that so'pose to look like $tablename2=""

SemperFidelis
06-04-2002, 09:01 AM
Sweet
That fixed it
:)

Thanks for that scsa20
Greatly Appreciated
:D

scsa20
06-04-2002, 05:36 PM
np ;)