From 50613dd9a8baa86555ad8314e8bc1d9237f86fd3 Mon Sep 17 00:00:00 2001 From: denise Date: Tue, 12 Feb 2013 17:21:21 -0500 Subject: [PATCH] CC-4907: Library -> Adding items to show doesn't add the correct item sometimes -fixed --- airtime_mvc/application/models/StoredFile.php | 1 + 1 file changed, 1 insertion(+) diff --git a/airtime_mvc/application/models/StoredFile.php b/airtime_mvc/application/models/StoredFile.php index ef96fe049..4f61c3592 100644 --- a/airtime_mvc/application/models/StoredFile.php +++ b/airtime_mvc/application/models/StoredFile.php @@ -816,6 +816,7 @@ SQL; $row['checkbox'] = ""; $row['image'] = ""; + $type = substr($row['ftype'], 0, 2); $row['tr_id'] = "{$type}_{$row['id']}"; }