aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio <silvio@devlet.com.br>2010-10-22 19:37:48 -0200
committerSilvio <silvio@devlet.com.br>2010-10-22 19:37:48 -0200
commite75c2551083d4a4dd524e443898dc17bb70eeaed (patch)
treebfd747e1366436b61a605e23ce63da134ea8c178
parent74eff1aa95a5dae06c7ddc6a8ffb81fdd563b8cf (diff)
downloadjquery_gallery_view-e75c2551083d4a4dd524e443898dc17bb70eeaed.tar.gz
jquery_gallery_view-e75c2551083d4a4dd524e443898dc17bb70eeaed.tar.bz2
Minor changes
-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,