Update SqlManager.php

Fix #706