bug in diaspora_reshare

This commit is contained in:
Friendika 2011-10-20 05:43:33 -07:00
commit da416e0181
5 changed files with 122 additions and 5 deletions

View file

@ -90,6 +90,9 @@ function profile_photo_post(&$a) {
$url = $a->get_baseurl() . '/profile/' . $a->user['nickname'];
if($url && strlen(get_config('system','directory_submit_url')))
proc_run('php',"include/directory.php","$url");
require_once('include/profile_update.php');
profile_change();
}
else
notice( t('Unable to process image') . EOL);

View file

@ -210,6 +210,9 @@ function profiles_post(&$a) {
$url = $_SESSION['my_url'];
if($url && strlen(get_config('system','directory_submit_url')))
proc_run('php',"include/directory.php","$url");
require_once('include/profile_update.php');
profile_change();
}
}
}

View file

@ -296,9 +296,9 @@ function settings_post(&$a) {
}
// not yet ready for prime time
// require_once('include/profile_update.php');
// profile_change();
require_once('include/profile_update.php');
profile_change();
$_SESSION['theme'] = $theme;
if($email_changed && $a->config['register_policy'] == REGISTER_VERIFY) {