Fixed bad conversion to support PHP 5.3,
This commit is contained in:
parent
4765ca2232
commit
37e0604647
@ -435,7 +435,7 @@ class IDF_Scm_Svn extends IDF_Scm
|
|||||||
$log = array();
|
$log = array();
|
||||||
$log['author'] = (string) $entry->author;
|
$log['author'] = (string) $entry->author;
|
||||||
$log['date'] = gmdate('Y-m-d H:i:s', strtotime((string) $entry->date));
|
$log['date'] = gmdate('Y-m-d H:i:s', strtotime((string) $entry->date));
|
||||||
$split = explode("[\n\r]", (string) $entry->msg, 2);
|
$split = preg_split("[\n\r]", (string) $entry->msg, 2);
|
||||||
$log['title'] = $split[0];
|
$log['title'] = $split[0];
|
||||||
$log['commit'] = (string) $entry['revision'];
|
$log['commit'] = (string) $entry['revision'];
|
||||||
$log['full_message'] = (isset($split[1])) ? trim($split[1]) : '';
|
$log['full_message'] = (isset($split[1])) ? trim($split[1]) : '';
|
||||||
|
Loading…
Reference in New Issue
Block a user