Skip to content

Commit

Permalink
Use of Computer_Item::dropdownConnect() instead of dropdownConnect().…
Browse files Browse the repository at this point in the history
… See release fusioninventory#47
  • Loading branch information
Vincent MAZZONI committed Apr 29, 2010
1 parent bff087b commit 23ccc50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/agents.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function showForm($target, $ID = '') {
echo $CommonItem->getLink(1);
echo "<input type='hidden' name='on_device' value='".$this->fields["on_device"]."'/>";
} else {
dropdownConnect(COMPUTER_TYPE,COMPUTER_TYPE,'on_device', $_SESSION['glpiactive_entity']);
Computer_Item::dropdownConnect(COMPUTER_TYPE,COMPUTER_TYPE,'on_device', $_SESSION['glpiactive_entity']);
}
echo "</td>";

Expand Down
2 changes: 1 addition & 1 deletion inc/snmp.printers.classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ function showFormPrinter_graph($p_target, $p_ID) {
echo "</td></tr>\n";

echo "<tr class='tab_bg_1'><td class='left'>".$LANG['plugin_fusioninventory']["prt_history"][32]."&nbsp;:</td><td class='left'>";
dropdownConnect(PRINTER_TYPE,PRINTER_TYPE,"graph_printerCompAdd", -1, 0, array_keys($printers));
Computer_Item::dropdownConnect(PRINTER_TYPE,PRINTER_TYPE,"graph_printerCompAdd", -1, 0, array_keys($printers));
echo "</td><td class='left'>\n";
echo "<input type='submit' value=\"".$LANG['buttons'][8]."\" class='submit' name='graph_plugin_fusioninventory_printer_add'>";
echo "</td></tr>\n";
Expand Down

0 comments on commit 23ccc50

Please sign in to comment.