13 Jul
2015
13 Jul
'15
7:15 a.m.
On Sat, 11 Jul 2015 at 18:58:00, Marcel Korpel wrote:
When a user account is modified, the 'My Account' link should contain the new username, otherwise clicking it directly after editing a username will result in a 404.
Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> --- web/html/account.php | 12 +++++++++--- web/html/register.php | 8 +++----- web/lib/acctfuncs.inc.php | 22 ++++++++++++++++++++++ 3 files changed, 34 insertions(+), 8 deletions(-) [...]
Ugh, that's a lot of hacky code, just to get the page title right. Maybe we should rather use PRG here to avoid all that?