Update DashboardHandler.class.php

fix #1706