Project

General

Profile

« Previous | Next » 

Revision 248

Added by stefan over 18 years ago

Fixed bug where READ_MORE was never shown in news pages because 'long' was used as table column name instead of 'content_long'. Related to ticket #81.

View differences:

view.php
188 188
				$short = ($post['content_short']);
189 189
				$wb->preprocess($short);
190 190
				// Replace vars with values
191
				$post_long_len = strlen($post['long']);
191
				$post_long_len = strlen($post['content_long']);
192 192
				$vars = array('[PAGE_TITLE]', '[GROUP_ID]', '[GROUP_TITLE]', '[GROUP_IMAGE]', '[DISPLAY_GROUP]', '[DISPLAY_IMAGE]', '[TITLE]', '[SHORT]', '[LINK]', '[DATE]', '[TIME]', '[USER_ID]', '[USERNAME]', '[DISPLAY_NAME]', '[EMAIL]', '[TEXT_READ_MORE]');
193 193
				if(isset($users[$uid]['username']) AND $users[$uid]['username'] != '') {
194 194
					if($post_long_len < 9) {

Also available in: Unified diff