Update functions.php

function getParameterValue if not found, empty string will be return, fix it.