Changeset 7670
- Timestamp:
- 12/18/12 14:18:30 (11 years ago)
- Location:
- trunk/zpush
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zpush/backend/expresso/expresso.php
r7644 r7670 31 31 foreach($this->cacheFolders[$provider] as $folder) 32 32 { 33 if($folder['id'] == $folderId) 33 if($folder['id'] == $folderId && is_object($this->providerInstances[$provider])) 34 { 34 35 return $this->providerInstances[$provider]; 36 } 37 else 38 { 39 throw new Exception('Error in get Provider'); 40 } 35 41 } 36 42 } -
trunk/zpush/backend/expresso/providers/calendarProvider.php
r7589 r7670 211 211 $message->endtime = (int) substr($schedulable['endTime'], 0, -3); 212 212 $message->deleted = 0; 213 $message->subject = $schedulable['summary']; // phpgw_cal.title 214 $message->location = $schedulable['location']; // phpgw_cal.location 213 214 $message->subject = mb_convert_encoding($schedulable['summary'] , 'UTF-8' , 'UTF-8,ISO-8859-1'); 215 $message->location = mb_convert_encoding($schedulable['location'], 'UTF-8' , 'UTF-8,ISO-8859-1'); 215 216 216 217 if(isset($schedulable['description']) && $schedulable['description'] != "") { 217 $message->body = $schedulable['description']; // phpgw_cal.description218 $message->body = mb_convert_encoding($schedulable['description'], 'UTF-8' , 'UTF-8,ISO-8859-1'); // phpgw_cal.description 218 219 $message->bodysize = strlen($message->body); 219 220 $message->bodytruncated = 0; … … 237 238 if($participant['isOrganizer'] == 1) //organizador 238 239 { 239 $message->organizername = $participant['user']['name'];240 $message->organizeremail = $participant['user']['mail'];240 $message->organizername = mb_convert_encoding($participant['user']['name'], 'UTF-8' , 'UTF-8,ISO-8859-1'); 241 $message->organizeremail = mb_convert_encoding($participant['user']['mail'], 'UTF-8' , 'UTF-8,ISO-8859-1'); 241 242 242 243 if(isset($participant['alarms'][0])) … … 262 263 { 263 264 $attendee = new SyncAttendee(); 264 $attendee->name = $participant['user']['name'];265 $attendee->email = $participant['user']['mail'];265 $attendee->name = mb_convert_encoding($participant['user']['name'], 'UTF-8' , 'UTF-8,ISO-8859-1'); 266 $attendee->email = mb_convert_encoding($participant['user']['mail'], 'UTF-8' , 'UTF-8,ISO-8859-1'); 266 267 $message->attendees[] = $attendee; 267 268 } … … 331 332 $message->recurrence = $recur; 332 333 } 333 334 334 return $message; 335 335 } -
trunk/zpush/config.php
r7631 r7670 292 292 define('IMAP_PORT', $row['imapport']); 293 293 // best cross-platform compatibility (see http://php.net/imap_open for options) 294 define('IMAP_OPTIONS', $row['imapTLSEncryption'] == 'yes'? '/tls/norsh' : '/notls/norsh');294 define('IMAP_OPTIONS', (isset($row['imapTLSEncryption']) && $row['imapTLSEncryption'] == 'yes' ) ? '/tls/norsh' : '/notls/norsh'); 295 295 296 296 // overwrite the "from" header if it isn't set when sending emails -
trunk/zpush/version.php
r7589 r7670 43 43 44 44 45 define("ZPUSH_VERSION", "2.0.6 RC-1578");45 define("ZPUSH_VERSION", "2.0.6-1616"); 46 46 47 47 ?>
Note: See TracChangeset
for help on using the changeset viewer.