projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove call-time pass-by-reference code which produces fatal error with PHP>=5.4
[platal.git]
/
modules
/
reminder.php
diff --git
a/modules/reminder.php
b/modules/reminder.php
index
8c05b86
..
dc11be8
100644
(file)
--- a/
modules/reminder.php
+++ b/
modules/reminder.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
1
Polytechnique.org *
+ * Copyright (C) 2003-201
3
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-24,11
+24,11
@@
class ReminderModule extends PLModule
function handlers()
{
return array(
function handlers()
{
return array(
- 'ajax/reminder' => $this->make_hook('reminder', AUTH_COOKIE),
+ 'ajax/reminder' => $this->make_hook('reminder', AUTH_COOKIE
, 'user'
),
);
}
);
}
- function handler_reminder(
&
$page, $reminder_name = null, $action = null)
+ function handler_reminder($page, $reminder_name = null, $action = null)
{
require_once 'reminder.inc.php';
$user = S::user();
{
require_once 'reminder.inc.php';
$user = S::user();