projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe3493
)
DataObjects/Person.php
author
Edward
<edward@roojs.com>
Tue, 5 May 2015 09:26:34 +0000
(17:26 +0800)
committer
Edward
<edward@roojs.com>
Tue, 5 May 2015 09:26:34 +0000
(17:26 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
ef4037e
..
870139d
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-846,7
+846,7
@@
class Pman_Core_DataObjects_Person extends DB_DataObject
if(!empty($q['query']['name'])){
$this->whereAdd("
-
Person
.name LIKE '%{$this->escape($q['query']['name'])}%'
+
{$this->tableName()}
.name LIKE '%{$this->escape($q['query']['name'])}%'
");
}