Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Mon, Feb 3, 6:54 AM

in-portal

Index: branches/unlabeled/unlabeled-1.1.2/kernel/units/user_groups/user_groups_dbitem.php
===================================================================
--- branches/unlabeled/unlabeled-1.1.2/kernel/units/user_groups/user_groups_dbitem.php (revision 7732)
+++ branches/unlabeled/unlabeled-1.1.2/kernel/units/user_groups/user_groups_dbitem.php (revision 7733)
@@ -1,31 +1,31 @@
<?php
class UserGroups_DBItem extends kDBItem
{
/**
* Returns part of SQL WHERE clause identifing the record, ex. id = 25
*
* @access public
* @param string $method Child class may want to know who called GetKeyClause, Load(), Update(), Delete() send its names as method
* @return void
* @see kDBItem::Load()
* @see kDBItem::Update()
* @see kDBItem::Delete()
*/
function GetKeyClause($method=null, $keys_hash = null)
{
- $table_info = $this->getLinkedInfo();
+ $table_info = $this->getLinkedInfo($this->Special);
if ($table_info) {
// we have parent info, then use it
$keys_hash = Array(
$this->IDField => $this->ID,
$table_info['ForeignKey'] => $table_info['ParentId'],
);
}
return parent::GetKeyClause($method, $keys_hash);
}
}
?>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.2/kernel/units/user_groups/user_groups_dbitem.php
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.1
\ No newline at end of property
+1.1.2.2
\ No newline at end of property

Event Timeline