diff options
author | Silvio <silvio@devlet.com.br> | 2010-10-22 19:37:48 -0200 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-10-22 19:37:48 -0200 |
commit | e75c2551083d4a4dd524e443898dc17bb70eeaed (patch) | |
tree | bfd747e1366436b61a605e23ce63da134ea8c178 | |
parent | 74eff1aa95a5dae06c7ddc6a8ffb81fdd563b8cf (diff) | |
download | jquery_gallery_view-e75c2551083d4a4dd524e443898dc17bb70eeaed.tar.gz jquery_gallery_view-e75c2551083d4a4dd524e443898dc17bb70eeaed.tar.bz2 |
Minor changes
-rw-r--r-- | jquery_gallery_view.module | 4 |
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, |