Commit b1f0c591 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Update convert tool

parent d8d668c6
......@@ -133,10 +133,10 @@ function display($array, $table, $pad = 20, $tab = ' ') {
}
$commondbtm = new CommonDBTM();
$commonopts = $commondbtm->getSearchOptions();
$commonopts = $commondbtm->searchOptions();
$item = new $itemtype();
$opts = $item->getSearchOptions();
$opts = $item->searchOptions();
$commonopts[1]['table'] = $item->getTable();
//do not proceed if item class does not define its own getSearchOptions method
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment