Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-1131

Incorrect function for load Image from DB

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.0 (alpha)
    • 1.9.0 (alpha)
    • Frontend (F)
    • None
    • Oracle 10g2, PHP 5.2.11-pl0-gentoo

      Fatal error: Call to a member function load() on a non-object in /var/www/zabbix/php/include/images.inc.php on line 39

      Index: include/images.inc.php
      ===================================================================
      — include/images.inc.php (revision 8111)
      +++ include/images.inc.php (working copy)
      @@ -36,7 +36,7 @@
      if(!isset($row['image']))
      return 0;

      • $row['image'] = $row['image']->load();
        + $row['image'] = $row['image'];
        }
        else if($DB['TYPE'] == "POSTGRESQL"){
        $row['image'] = pg_unescape_bytea($row['image']);

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: