Changeset - 15c7b09cd6b3
[Not reviewed]
0 1 0
Chel Sea (chain) - 5 years ago 2020-05-10 12:34:53
chain@rpgfiction.net
PHP 7 fixes
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
inc/plugins/inplayquotes.php
Show inline comments
 
@@ -470,12 +470,12 @@ function inplayquotes_index()
 
	LEFT JOIN ".TABLE_PREFIX."posts on ".TABLE_PREFIX."inplayquotes.pid = ".TABLE_PREFIX."posts.pid
 
	WHERE ".TABLE_PREFIX."inplayquotes.uid IN(SELECT uid FROM ".TABLE_PREFIX."users) 	
 
	ORDER BY rand()
 
	LIMIT 1");
 
	$quoted = $db->fetch_array($query);
 
	$quoted['user'] = build_profile_link($quoted['username'], $quoted['uid']);
 
	$quoted['scene']= "<a href=\"showthread.php?tid={$quoted[tid]}&pid={$quoted[pid]}#pid{$quoted[pid]}\">$quoted[subject]</a>";
 
	$quoted['scene']= "<a href=\"showthread.php?tid={$quoted['tid']}&pid={$quoted['pid']}#pid{$quoted['pid']}\">{$quoted['subject']}</a>";
 
	if(!empty($quoted['quote'])) {
 
		eval("\$inplayquotes = \"".$templates->get("index_inplayquotes")."\";");
 
	}
 
}
 
?>
0 comments (0 inline, 0 general)