projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DataObjects/Core_person_signup.php
[Pman.Core]
/
DataObjects
/
Core_person_signup.php
diff --git
a/DataObjects/Core_person_signup.php
b/DataObjects/Core_person_signup.php
index
cb996cd
..
9b3ab6f
100644
(file)
--- a/
DataObjects/Core_person_signup.php
+++ b/
DataObjects/Core_person_signup.php
@@
-29,7
+29,7
@@
class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
public $person_table;
public $invite_id;
public $person_table;
public $invite_id;
- public $
friend
_table;
+ public $
invite
_table;
function convertTo($target = false)
{
function convertTo($target = false)
{
@@
-57,8
+57,8
@@
class Pman_Core_DataObjects_Core_person_signup extends DB_DataObject
$this->person_table = $target->tableName();
$this->update($old);
$this->person_table = $target->tableName();
$this->update($old);
- if(!empty($this->invite_id) && !empty($this->
friend
_table)){
- $friend = DB_DataObject::factory($this->
friend
_table);
+ if(!empty($this->invite_id) && !empty($this->
invite
_table)){
+ $friend = DB_DataObject::factory($this->
invite
_table);
$friend->setFrom(array(
'person_id' => $this->invite_id,
'friend_id' => $target->id
$friend->setFrom(array(
'person_id' => $this->invite_id,
'friend_id' => $target->id