projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix #8131 - chinese translations
[Pman.Core]
/
DataObjects
/
Core_event_audit.php
diff --git
a/DataObjects/Core_event_audit.php
b/DataObjects/Core_event_audit.php
index
a1014f4
..
0e578b1
100644
(file)
--- a/
DataObjects/Core_event_audit.php
+++ b/
DataObjects/Core_event_audit.php
@@
-2,7
+2,7
@@
/**
* Table Definition for core_event_audit
*/
/**
* Table Definition for core_event_audit
*/
-require_once 'DB/DataObject.php';
+
class_exists('DB_DataObject') ? '' :
require_once 'DB/DataObject.php';
class Pman_Core_DataObjects_Core_event_audit extends DB_DataObject
{
class Pman_Core_DataObjects_Core_event_audit extends DB_DataObject
{
@@
-61,9
+61,11
@@
class Pman_Core_DataObjects_Core_event_audit extends DB_DataObject
}
function findLast($event, $name)
{
}
function findLast($event, $name)
{
-
DB_DataObject::debugLevel(1);
+
//
DB_DataObject::debugLevel(1);
$x = DB_DataObject::factory('core_event_audit');
$x->autoJoin();
$x = DB_DataObject::factory('core_event_audit');
$x->autoJoin();
+
+
$x->selectAdd();
$x->selectAdd('core_event_audit.id as id');
$x->selectAdd();
$x->selectAdd('core_event_audit.id as id');