Changeset 28073


Ignore:
Timestamp:
Apr 4, 2014, 10:49:35 AM (10 years ago)
Author:
plg
Message:

avoid SQL crash when displaying a PWG Stuff block with thumbnails (where does not exist)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Back2Front/include/Back2Front.php

    r23177 r28073  
    335335  global $conf, $selection;
    336336 
     337  if (!isset($selection))
     338  {
     339    return $tpl_thumbnails_var;
     340  }
     341
    337342  if (!$conf['back2front']['show_thumbnail']) return $tpl_thumbnails_var;
    338343  if (empty($tpl_thumbnails_var)) return $tpl_thumbnails_var;
Note: See TracChangeset for help on using the changeset viewer.