26
Hi dears..
I'm working on this module..
I've found another bug.. and solved it.
If u see, in administration section, u can find something strange in "User Listing Modification Requests".
Pay attention. When a simple user (not an admin) edits a link, u must approve it from Administration. So u must access "User Listing Modification Requests" section. Here, u can see old values 4 that record, and new values proposed by the user. Yet, it seems new values r not correct.. And "submitter" field is blank. Really, in description field, is shown not the description but the user id. So.. i've found the error in the code.
in admin.php on line 543, in the function listModReq() there's a problem in the while-statement. Or better.. in list() used in the while statement. In the code is:
while ( list($requestid, $lid, $cid, $title, $address, $city, $state, $zip, $phone, $url, $email, $logourl, $description, $submitterid)=$xoopsDB->fetchRow($result) )
but Email field is not set in MySQL table.
So this line is to be replaced with
while ( list($requestid, $lid, $cid, $title, $address, $city, $state, $zip, $phone, $url, $logourl, $description, $submitterid)=$xoopsDB->fetchRow($result) ) {
Greetings from Italy
Byezzz
Beppe