prevent double posting of status updates and comments

This commit is contained in:
Zach Prezkuta 2012-11-01 17:14:42 -06:00
commit e9b26ffbb3
27 changed files with 62 additions and 13 deletions

View file

@ -701,7 +701,8 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
'$edvideo' => t('Video'),
'$preview' => t('Preview'),
'$sourceapp' => t($a->sourcename),
'$ww' => (($mode === 'network') ? $commentww : '')
'$ww' => (($mode === 'network') ? $commentww : ''),
'$rand_num' => random_digits(12)
));
}
}