Changeset 31939 for extensions


Ignore:
Timestamp:
Jul 25, 2018, 6:00:51 PM (2 years 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.