bug with the text export

pull/217/head
iglocska 2014-02-12 11:53:38 +01:00
parent 3b8f9b9e2b
commit d40b0f8c34
1 changed files with 1 additions and 1 deletions

View File

@ -1232,7 +1232,7 @@ class Attribute extends AppModel {
return $rules;
}
public function text($org, $isSiteAdmin, $type, $tags) {
public function text($org, $isSiteAdmin, $type, $tags = '') {
//restricting to non-private or same org if the user is not a site-admin.
$conditions['AND'] = array('Attribute.type' => $type, 'Attribute.to_ids =' => 1, 'Event.published =' => 1);
if (!$isSiteAdmin) {