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.
Merge pull request #23 from Foine/patch-1

Wrong variable test in media.model.php