|
@@ -176,7 +176,7 @@ class FCKeditor
|
|
|
|
|
|
$HtmlValue = htmlspecialchars( $this->Value ) ;
|
|
$HtmlValue = htmlspecialchars( $this->Value ) ;
|
|
$Html = '' ;
|
|
$Html = '' ;
|
|
- if ( $this->IsCompatible() ) {
|
|
|
|
|
|
+ if ( FCKeditor::IsCompatible() ) {
|
|
if ( api_get_setting('server_type') == 'test' )
|
|
if ( api_get_setting('server_type') == 'test' )
|
|
$File = 'fckeditor.original.html' ;
|
|
$File = 'fckeditor.original.html' ;
|
|
else
|
|
else
|
|
@@ -216,7 +216,7 @@ class FCKeditor
|
|
*
|
|
*
|
|
* @return boolean
|
|
* @return boolean
|
|
*/
|
|
*/
|
|
- public function IsCompatible()
|
|
|
|
|
|
+ public static function IsCompatible()
|
|
{
|
|
{
|
|
return FCKeditor_IsCompatibleBrowser() ;
|
|
return FCKeditor_IsCompatibleBrowser() ;
|
|
}
|
|
}
|