From edd228decb5ef4c3ffa2a8be00983937680a56c2 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 30 May 2015 15:03:44 -0700 Subject: strip images from directory text entries --- mod/directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/directory.php b/mod/directory.php index 3e94d6395..7c7f63037 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -242,7 +242,7 @@ function directory_content(&$a) { $hometown = ((x($profile,'hometown') == 1) ? t('Hometown: ') . $profile['hometown'] : False); - $about = ((x($profile,'about') == 1) ? t('About: ') . bbcode($profile['about']) : False); + $about = ((x($profile,'about') == 1) ? t('About: ') . bbcode(strip_bbimage($profile['about'])) : False); $keywords = ((x($profile,'keywords')) ? $profile['keywords'] : ''); -- cgit v1.2.3