Skip to content

Commit

Permalink
Fix bug in master/master mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaise THAUVIN committed Nov 30, 2017
1 parent 98f0d00 commit eeb7994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/computer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function getTabNameForItem(CommonGLPI $item, $withtemplate=0) {
WHERE scope='global' AND parameter='Mode';");
$mode = $DB->fetch_array($result)['mode'];
if ($mode == 'Master') {
PluginGlpi2mdtCrontask::cronSyncMasterMaster(null, $id);
PluginGlpi2mdtCrontask::cronSyncMasterAndStrict(null, $id);
}
$result = $DB->query("SELECT value FROM glpi_plugin_glpi2mdt_settings
WHERE type='C' AND category='C' AND `key`='OSInstall' AND id=$id");
Expand Down

0 comments on commit eeb7994

Please sign in to comment.