Bugzilla – Attachment 3680 Details for
Bug 6061
C4::Context clearing up system preference on update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
C4::Context clearing up system preference on update
0001-Bug-6061-C4-Context-clearing-up-system-preference-on.patch (text/plain), 783 bytes, created by
Alex Arnaud
on 2011-04-05 12:29:09 UTC
(
hide
)
Description:
C4::Context clearing up system preference on update
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2011-04-05 12:29:09 UTC
Size:
783 bytes
patch
obsolete
>From f787c2fdf299200eb2e3165861ec856a51a6c0b0 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 5 Apr 2011 14:27:31 +0200 >Subject: [PATCH] Bug 6061 - C4::Context clearing up system preference on update > >--- > C4/Context.pm | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 484d4e1..cbafad8 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -521,7 +521,7 @@ sub set_preference { > my $type = $dbh->selectrow_array( "SELECT type FROM systempreferences WHERE variable = ?", {}, $var ); > > $value = 0 if ( $type && $type eq 'YesNo' && $value eq '' ); >- >+ clear_syspref_cache; > my $sth = $dbh->prepare( " > INSERT INTO systempreferences > ( variable, value ) >-- >1.6.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6061
:
3680
|
3756
|
4066