Please note that there are two commits there. Easiest solution is to replace this file: https://raw.githubusercontent.com/cubecart/v6/master/admin/sources/maintenance.index.inc.php