Update lib/app.function.php

Add return for kget function