diff options
author | Sem <sembrestels@riseup.net> | 2012-12-05 02:01:14 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-12-05 02:01:14 +0100 |
commit | 24c58d2c465721e04e576a923161aa502eb11a8b (patch) | |
tree | 083dbaa3bd8b2174609df5e7498839b367571046 /mod/groups/upgrades | |
parent | 4e20956a31a9392c31953e22c9693578d490ed4a (diff) | |
parent | 3d163edf0f9d4d751ea212c28ffe771db482fe55 (diff) | |
download | elgg-24c58d2c465721e04e576a923161aa502eb11a8b.tar.gz elgg-24c58d2c465721e04e576a923161aa502eb11a8b.tar.bz2 |
Merge branch 'groups-upgrade-fix' of git://github.com/sembrestels/Elgg into foxglove-1
Diffstat (limited to 'mod/groups/upgrades')
-rw-r--r-- | mod/groups/upgrades/2011030101.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/upgrades/2011030101.php b/mod/groups/upgrades/2011030101.php index 55edb1a16..3199d76ba 100644 --- a/mod/groups/upgrades/2011030101.php +++ b/mod/groups/upgrades/2011030101.php @@ -40,7 +40,8 @@ function groups_2011030101($topic) { $annotation = $topic->getAnnotations('group_topic_post', 1); if (!$annotation) { // no text for this forum post so we delete (probably caused by #2624) - return $topic->delete(); + $topic->delete(); + return; } $topic->description = $annotation[0]->value; |