Update framework/applications/noviusos_media/classes/model/media.model.php

The variable $params['max_height'] isn't defined whereas the variable $max_height isn't tested.
I suppose this is a mistake and that this is $max_height which must be tested.