aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jquery_gallery_view.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery_gallery_view.module b/jquery_gallery_view.module
index 04f46a8..7c23d88 100644
--- a/jquery_gallery_view.module
+++ b/jquery_gallery_view.module
@@ -25,8 +25,8 @@ function jquery_gallery_view_setup_photos($view, $field, $title = NULL) {
foreach ($view->result as $result) {
$fid = $result->{$field};
if ($fid != NULL) {
- $file = field_file_load($fid);
- $text = $result->{$title};
+ $file = field_file_load($fid);
+ $text = $result->{$title};
$photos[] = array(
'filename' => $file['filename'],
'title' => $text,