BUGFIX: Typo fix in SQL query.

git-svn-id: http://www.observium.org/svn/observer/trunk@2304 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Geert Hauwaerts
2011-05-13 12:55:01 +00:00
parent 3041b03da2
commit 993b5c5ead
2 changed files with 2 additions and 1 deletions

View File

@@ -220,6 +220,7 @@ function set_dev_attrib($device, $attrib_type, $attrib_value)
function get_dev_attribs($device)
{
echo $device;
$attribs = array();
foreach(dbFetchRow("SELECT * FROM devices_attribs WHERE `device_id` = ?", array($device)) as $entry)
{