Wow, I don’t know why I didn’t think of that. That should fix one of my other issues too. Thanks!
Great, I’ll try it. Thanks!
If anyone is curious, I just figured it out. Here is the code (Lines 54-63) to PREVENT any drafts from displaying in the recent topics widget.
$sql = 'select tid, subject from '
. $options['db_prefix'] . 'threads' // sanitized in MyBBXPSettings
. ' where visible=1'
. ' and fid in( '
. $instance['fids'] // sanitized below
. ') order by '
. ($instance['define_recent'] == 'created' ? 'dateline' : 'lastpost') // sanitized below and inline
. ' desc limit '
. $instance['num_topics'] // sanitized below
. ';';