Open soju22 opened 10 years ago
Hello
Great module, but not compatible with strict PHP standards.
For example in YumTranslationController :
YumTranslationController
Declaration of YumTranslationController::performAjaxValidation() should be compatible with that of YumController::performAjaxValidation()
Function performAjaxValidation in YumTranslationController :
performAjaxValidation
protected function performAjaxValidation($model) { if(isset($_POST['ajax']) && $_POST['ajax']==='translation-form') { echo CActiveForm::validate($model); Yii::app()->end(); } }
Should be (for example) :
protected function performAjaxValidation($model, $form='translation-form') { parent::performAjaxValidation($model, $form); }
PS: I know E_STRICT error reporting can be disabled
Hello
Great module, but not compatible with strict PHP standards.
For example in
YumTranslationController
:Function
performAjaxValidation
inYumTranslationController
:Should be (for example) :
PS: I know E_STRICT error reporting can be disabled