diff options
Diffstat (limited to 'frontends/php/include/config.inc.php')
-rw-r--r-- | frontends/php/include/config.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 3e018b4d..d3e62765 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -4326,9 +4326,9 @@ where h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=$triggerid"; return DBexecute($sql); } - function update_screen_item($screenitemid,$graphid,$width,$height) + function update_screen_item($screenitemid,$resource,$resourceid,$width,$height) { - $sql="update screens_items set graphid=$graphid,width=$width,height=$height where screenitemid=$screenitemid"; + $sql="update screens_items set resource=$resourceid,resourceid=$resourceid,width=$width,height=$height where screenitemid=$screenitemid"; return DBexecute($sql); } |