diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 07:09:51 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2011-01-21 07:09:51 +0100 |
commit | bd512ab60c5128cec449a48e7d0736303f961e89 (patch) | |
tree | e7675972310a06b55a5987dddb44beae63220a76 /mod/profiles.php | |
parent | ed37b1d166b22499c8f46e7f71e698a2985c9233 (diff) | |
parent | c574e4c5879312f57db43436044285de56026f0b (diff) | |
download | volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.gz volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.tar.bz2 volse-hubzilla-bd512ab60c5128cec449a48e7d0736303f961e89.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/profiles.php')
-rw-r--r-- | mod/profiles.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/profiles.php b/mod/profiles.php index 54c57f73e..0bb476549 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -10,6 +10,8 @@ function profiles_post(&$a) { $namechanged = false; + call_hooks('profile_post', $_POST); + if(($a->argc > 1) && ($a->argv[1] !== "new") && intval($a->argv[1])) { $orig = q("SELECT * FROM `profile` WHERE `id` = %d AND `uid` = %d LIMIT 1", intval($a->argv[1]), @@ -389,6 +391,9 @@ function profiles_content(&$a) { '$contact' => $r[0]['contact'] )); + $arr = array('profile' => $r[0], 'entry' => $o); + call_hooks('profile_edit', $arr); + return $o; } else { |