Index: trunk/core/units/reviews/reviews_tag_processor.php =================================================================== diff -u -N -r4303 -r4309 --- trunk/core/units/reviews/reviews_tag_processor.php (.../reviews_tag_processor.php) (revision 4303) +++ trunk/core/units/reviews/reviews_tag_processor.php (.../reviews_tag_processor.php) (revision 4309) @@ -19,11 +19,12 @@ $item_id = $object->GetDBField($id_field); return $this->Application->HREF($params['edit_template'],'', Array( - 'm_opener'=>'d', - $item_prefix.'_event'=>'OnEdit', - $item_prefix.'_id'=>$item_id, - 'pass'=>'all,'.$item_prefix - ),'index4.php' ); + 'm_opener' => 'd', + $item_prefix.'_mode' => 't', + $item_prefix.'_event' => 'OnEdit', + $item_prefix.'_id' => $item_id, + 'pass' => 'all,'.$item_prefix + ), 'index4.php'); } /** @@ -38,14 +39,11 @@ $field = $this->SelectParam($params, 'name,field'); $object =& $this->Application->recallObject($this->getPrefixSpecial(),$this->Prefix, $params); - if($field == 'ReviewText') - { - if( $object->GetDBField('TextFormat') == 1 ) - { + if ($field == 'ReviewText') { + if ($object->GetDBField('TextFormat') == 1) { $params['no_special'] = 'no_special'; } - else - { + else { unset($params['no_special']); } } @@ -87,12 +85,10 @@ function HasError($params) { $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix, $params); - if(method_exists($object, 'GetErrorMsg')) - { + if (method_exists($object, 'GetErrorMsg')) { return parent::HasError($params); } - else - { + else { return 0; } }