Changeset 32509 for extensions/meta


Ignore:
Timestamp:
Mar 8, 2021, 5:26:52 PM (4 years ago)
Author:
ddtddt
Message:

[meta] erray offset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/meta/main.inc.php

    r32390 r32509  
    181181        $result = pwg_query($query);
    182182        $row = pwg_db_fetch_assoc($result);
     183        if (!empty($row['metaKeycat'])) {
    183184        $albumKeyED = trigger_change('AP_render_content', $row['metaKeycat']);
    184         if (!empty($row['metaKeycat'])) {
    185185          $template->append('related_tags', array('name' => $albumKeyED));
    186186        }
     187        if (!empty($row['metadescat'])) {
    187188        $albumDesED = trigger_change('AP_render_content', $row['metadescat']);
    188         if (!empty($row['metadescat'])) {
    189189          $template->assign('PLUG_META', $albumDesED);
    190190        }
Note: See TracChangeset for help on using the changeset viewer.