BUG - sources/admin/edit.php

Andrew

New Member
In the source/admin/edit.php towards the very end of the file - there is a redirect URL after the form is processed

Code:
 header("refresh:1; url={$TMPL['list_url']}/index.php?a=admin&b=edit&u={$TMPL['owner']}");
Should that be

Code:
 header("refresh:1; url={$TMPL['list_url']}/index.php?a=admin&b=edit&u={$TMPL['username']}");
 

Basti

Administrator
Staff member
Indeed, good catch. This would trigger a wrong redirect if the member you edit is a "sub member" of another account. We will update it for next release.
Cheers
 
Top