Search box not posting to correct module
Status: Alpha
Brought to you by:
mjulson
The directory name, "PNAmazon", is determining the
value of $ModName on line 18
$ModName = basename ( dirname ( _FILE_ ) );
but line 109 (the search box) was hardcoded to post to
a module named "Amazon" and would bring up a 404 error.
Simply changing the code on line 109 to
<input type="hidden" name="name" value=<?php echo
"$ModName";?> />
solves the problem. There may be other instances where
the module name was hardcoded and, of course, they need
to be fixed as well.
Slugger