Ignore:
Timestamp:
May 27, 2015, 3:35:24 PM (9 years ago)
Author:
sarybe
Message:

[ThumbnailTooltip] Canceling changes. Back to 31176 Version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ThumbnailTooltip/include/class.inc.php

    r31180 r31181  
    3535        );
    3636       
    37 
    38         if ($params['display_name']==true) {
    39       foreach($tpl_var as $cle=>$valeur) {
     37        foreach($tpl_var as $cle=>$valeur) {
     38          if ($params['display_name']==true) {
    4039        $query = "
    4140                  SELECT name, hit, comment, author, rating_score, CONCAT(width, 'x', height) AS dimensions, filesize FROM ".IMAGES_TABLE."
     
    9291        $tpl_var[$cle]['TN_TITLE'] = $title;
    9392      }
     93          else {
     94            $tpl_var[$cle]['TN_TITLE'] = null;
     95          }
    9496    }
    9597    return $tpl_var;
Note: See TracChangeset for help on using the changeset viewer.