Ignore:
Timestamp:
2013/05/11 10:32:41 (13 years ago)
Author:
Seasoft
Message:

#2241 (プラグイン機構の自殺を阻止)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/SC_View.php

    r22567 r22811  
    144144            // フックポイントを実行. 
    145145            $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->objPage->plugin_activate_flg); 
    146             $objPlugin->doAction('prefilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 
     146            if (is_object($objPlugin)) { 
     147                $objPlugin->doAction('prefilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 
     148            } 
    147149        } 
    148150        return $source; 
     
    160162            // フックポイントを実行. 
    161163            $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance($this->objPage->plugin_activate_flg); 
    162             $objPlugin->doAction('outputfilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 
     164            if (is_object($objPlugin)) { 
     165                $objPlugin->doAction('outputfilterTransform', array(&$source, $this->objPage, $smarty->_current_file)); 
     166            } 
    163167        } 
    164168        return $source; 
Note: See TracChangeset for help on using the changeset viewer.