Revize 577
Přidáno uživatelem Jiří Sviták před téměř 15 roky(ů)
freenetis/trunk/kohana/application/controllers/transfers.php | ||
---|---|---|
if (!is_object($transfer))
|
||
Controller::error(RECORD);
|
||
$oa = new Account_Model($transfer->oa_id);
|
||
$da = new Account_Model($transfer->da_id);
|
||
if ($oa->member_id != 1)
|
||
$member_id = $oa->member_id;
|
||
$da = new Account_Model($transfer->da_id);
|
||
if ($da->member_id != 1)
|
||
$member_id = $da->member_id;
|
||
elseif ($da->member_id != 1)
|
||
$member_id = $da->member_id;
|
||
else
|
||
$member_id = 1;
|
||
if (!$this->acl_check_view('Accounts_Controller', 'transfers', $member_id))
|
||
Controller::error(ACCESS);
|
||
// transfers dependent on this transfer, if this transfer is member fee payment
|
Také k dispozici: Unified diff
Oprava chyby u zobrazeni prevodu.