This bug fix fixes the link to the edit page of a contrib when you have done a search.
in admin/contrib_tracker.php:
1. ***FIND***
if ($HTTP_GET_VARS['action'] != 'new' || $HTTP_GET_VARS['action'] != 'edit') {
if (htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["search"])) == '')
{$searchquery = 'enter search query'; } else { $searchquery = htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["search"])) ;}
?>
***CHANGE TO***
if ($HTTP_GET_VARS['action'] != 'new' || $HTTP_GET_VARS['action'] != 'edit') {
if (htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["search"])) == '')
{$searchquery = ''; } else { $searchquery = htmlspecialchars(StripSlashes(@$HTTP_GET_VARS["search"])) ;}
?>
2. ***FIND***
if ( (is_object($sInfo)) && ($admin_quer['contr_id'] == $sInfo->contr_id)) {
echo ' contr_id . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=readonly') . ''">' . "n";
} else {
echo ' ' . "n"; }
***CHANGE TO***
if ( (is_object($sInfo)) && ($admin_quer['contr_id'] == $sInfo->contr_id)) {
echo ' contr_id . '&sort=' . $HTTP_GET_VARS['sort'] . '&action=readonly') . ''">' . "n";
} else {
echo ' ' . "n"; }
3.***FIND***
***CHANGE TO***
More...




LinkBack URL
About LinkBacks









Bookmarks