1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

Forum quick-reply fix.

This commit is contained in:
Cameron
2013-06-19 19:54:29 -07:00
parent a1c768f847
commit 29f74508c2
5 changed files with 66 additions and 17 deletions

View File

@@ -715,12 +715,14 @@ class e_admin_log
* @param string Title for use inside the Log file
* @param boolean true = append to file, false = new file each save.
*/
public function toFile($name,$logTitle='',$append=false)
public function toFile($name, $logTitle='',$append=false)
{
$this->logFile = $name;
$this->saveToFile($logTitle,$append);
$file = $this->saveToFile($logTitle,$append);
$this->logFile = null;
return $file;
}