Status: offline

sakata

Forum User
Junior
Registered: 12/17/01
Posts: 25
Do you get error from the system when you edit Account information?
My freind reported that if the photo field is emty, system waring orrurs in windows environment.
This is because Geeklog tries to rename '' to ''.

suggestion is as follows.

usersetting.php
enclose the following code with if ($photo != '') {}.
$newphoto = preg_replace ('/' . $_USER['username'] . '/',
...
addslashes ($newphoto), "uid", $_USER['uid']);

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Fixed in CVS now. Thanks!

bye, Dirk