Calling DB::table() is redundant (and may have been causing me a problem) - the string is substituted into DB::insert() later on, which uses {bracket} notation to translate it.
--- trunk/htdocs/system/classes/logentry.php 2010-11-28 00:12:29 UTC (rev 4637)
+++ trunk/htdocs/system/classes/logentry.php 2010-11-28 00:17:03 UTC (rev 4638)
@@ -219,7 +219,7 @@
}
Plugins::filter( 'insert_logentry', $this );
- parent::insertRecord( DB::table( 'log' ) );
+ parent::insertRecord( 'log' );
$this->id = DB::last_insert_id();