mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: delete debug info
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@76145 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5e8e47ef77
commit
d9ea21c68e
@ -87,8 +87,6 @@ class Money extends DBField implements CompositeDBField {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setValue($value,$record=null) {
|
function setValue($value,$record=null) {
|
||||||
//var_dump($value);
|
|
||||||
//var_dump($record);
|
|
||||||
if($record && isset($record[$this->name . 'Currency']) && isset($record[$this->name . 'Amount'])) {
|
if($record && isset($record[$this->name . 'Currency']) && isset($record[$this->name . 'Amount'])) {
|
||||||
if($record[$this->name . 'Currency'] && $record[$this->name . 'Amount']) {
|
if($record[$this->name . 'Currency'] && $record[$this->name . 'Amount']) {
|
||||||
$this->setCurrency($record[$this->name . 'Currency']);
|
$this->setCurrency($record[$this->name . 'Currency']);
|
||||||
|
Loading…
Reference in New Issue
Block a user