Update commandtext.php

Fix parameter pass to command function.