Im using SMF RC3
SMF Project Tools 0.4.3 Released - June 13, 2010, 02:05:19 PM
SMF Project Tools 0.4.3 Released - June 13, 2010, 02:05:19 PM
Loving SimpleDesk? Help us spread the word!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
elseif (!empty($GLOBALS['issue'])) { global $project, $issue; require_once($sourcedir . '/Project.php'); loadProjectToolsPage('smf'); // Make sure this attachment is on this issue. $request = $smcFunc['db_query']('', ' SELECT a.id_folder, a.filename, a.file_hash, a.fileext, a.id_attach, a.attachment_type, a.mime_type, a.approved FROM {db_prefix}attachments AS a INNER JOIN {db_prefix}issues AS i ON (i.id_issue = a.id_issue) WHERE a.id_attach = {int:attach} AND i.id_issue = {int:issue} LIMIT 1', array( 'issue' => $issue, 'attach' => $_REQUEST['attach'], ) ); } // This is just a regular attachment... else
Page created in 0.020 seconds with 17 queries.