View | Details | Raw Unified | Return to bug 2505
Collapse All | Expand All

(-)a/opac/opac-ics.pl (+2 lines)
Lines 20-25 Link Here
20
# This script builds an ICalendar file (rfc 2445) for use in programs such as Ical
20
# This script builds an ICalendar file (rfc 2445) for use in programs such as Ical
21
21
22
use strict;
22
use strict;
23
use warnings;
24
23
use CGI;
25
use CGI;
24
use Data::ICal;
26
use Data::ICal;
25
use Data::ICal::Entry::Event;
27
use Data::ICal::Entry::Event;
(-)a/opac/opac-search-history.pl (-2 / +3 lines)
Lines 18-23 Link Here
18
# Suite 330, Boston, MA  02111-1307 USA
18
# Suite 330, Boston, MA  02111-1307 USA
19
19
20
use strict;
20
use strict;
21
use warnings;
22
21
use C4::Auth qw(:DEFAULT get_session);
23
use C4::Auth qw(:DEFAULT get_session);
22
use CGI;
24
use CGI;
23
use Storable qw(freeze thaw);
25
use Storable qw(freeze thaw);
Lines 46-52 my ($template, $loggedinuser, $cookie) Link Here
46
$template->param(dateformat => C4::Context->preference("dateformat"));
48
$template->param(dateformat => C4::Context->preference("dateformat"));
47
49
48
# If the user is not logged in, we deal with the cookie
50
# If the user is not logged in, we deal with the cookie
49
if ($loggedinuser == '') {
51
if (!$loggedinuser) {
50
52
51
    # Deleting search history
53
    # Deleting search history
52
    if ($cgi->param('action') && $cgi->param('action') eq 'delete') {
54
    if ($cgi->param('action') && $cgi->param('action') eq 'delete') {
53
- 

Return to bug 2505