and !empty($Place['user']) and $Place['user'] !== $User->login) {
$username = strtolower($Place['user']);
unset($user);
- $user = new User("profile/$username");
+ $user = new User("profile/$username", FALSE);
}
require_once('edit.inc.php');
print "\t";
printf('<li><label for="%s">%s:</label>', $col, ucfirst($colconf['label']));
if (@$colconf['type'] == 'file' and isset($colconf['value'])) {
- $target = $user['dir'] . '/' . $colconf['filename'];
+ $target = $user->dir . '/' . $colconf['filename'];
printf('<a href="/%s"><img src="/thumb/%s/%s?%s" /></a><br />',
$target,
200, $target, filemtime($target)