Skip to content
Snippets Groups Projects

dev #143671 Search by work with indexed pages : link to work/page points directly to page url

1 unresolved thread
Viewing commit 737a0af7
Show latest version
2 files
+ 5
1
Preferences
Compare changes
Files
2
@@ -20,6 +20,8 @@
*/
class Class_WebService_SIGB_Emprunt extends Class_WebService_SIGB_ExemplaireOperation {
use Trait_TimeSource;
protected $enRetard;
protected $_returned = false;
protected $renewable = true;
@@ -103,7 +105,7 @@ class Class_WebService_SIGB_Emprunt extends Class_WebService_SIGB_ExemplaireOper
if (!isset($this->enRetard)) {
$this->enRetard = (!$this->_returned)
&&
($this->getDateRetourTimestamp() <= strtotime('Yesterday'));
($this->getDateRetourTimestamp() <= $this->getCurrentTime());
}
return $this->enRetard;