* Removed getSelectOptions, which did nothing other than send FOR UPDATE on some...
[lhc/web/wiklou.git] / includes / Licenses.php
index 45944c7..abf23ac 100644 (file)
@@ -111,8 +111,8 @@ class Licenses extends HTMLFormField {
        }
 
        protected function msg( $str ) {
-               $out = wfMsg( $str );
-               return wfEmptyMsg( $str, $out ) ? $str : $out;
+               $msg = wfMessage( $str );
+               return $msg->exists() ? $msg->text() : $str;
        }
 
        /**#@-*/