Update common.php

Check if the language var is set