Changeset 31939


Ignore:
Timestamp:
07/25/18 18:00:51 (16 months ago)
Author:
plg
Message:

compatibility PHP 7.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Copyrights/image.php

    r29235 r31939  
    5656                $url = ''; 
    5757                $descr = ''; 
    58                 if (count($row) > 0) { 
     58                if (isset($row) and count($row) > 0) { 
    5959                        // If its the authors default copyright, get the data from the author table, instead of the copyright table 
    6060                        if ($row['cr_id'] == -1) { 
     
    8888                } 
    8989                // Get the data from the chosen row 
    90                 if (count($row) > 0) { 
     90                if (isset($row) and count($row) > 0) { 
    9191                        $name = $row['name']; 
    9292                        $url = $row['url']; 
Note: See TracChangeset for help on using the changeset viewer.