Merge branch 'stable'
This commit is contained in:
@ -353,7 +353,7 @@ class rowEditor
|
|||||||
// Direct float comparison is deprecated and can result in last-digit errors.
|
// Direct float comparison is deprecated and can result in last-digit errors.
|
||||||
// Floats in OC database are only used for reasonably large numbers like coordinates,
|
// Floats in OC database are only used for reasonably large numbers like coordinates,
|
||||||
// waylengths and time estimates, so using a fixed epsilon threshold is safe:
|
// waylengths and time estimates, so using a fixed epsilon threshold is safe:
|
||||||
$changed = (abs($sFormatedValue - $this->fields[$sField]['value']) >= 1e-13);
|
$changed = (abs($sFormatedValue - $this->fields[$sField]['value']) >= 1e-12);
|
||||||
else
|
else
|
||||||
$changed = ($sFormatedValue != $this->fields[$sField]['value']);
|
$changed = ($sFormatedValue != $this->fields[$sField]['value']);
|
||||||
if ($changed)
|
if ($changed)
|
||||||
|
@ -353,7 +353,7 @@ class user
|
|||||||
{
|
{
|
||||||
return $this->reUser->getValue('watchmail_nextmail');
|
return $this->reUser->getValue('watchmail_nextmail');
|
||||||
}
|
}
|
||||||
function setWatchmailNext()
|
function setWatchmailNext($value)
|
||||||
{
|
{
|
||||||
return $this->reUser->setValue('watchmail_nextmail', $value);
|
return $this->reUser->setValue('watchmail_nextmail', $value);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user