Bugzilla – Attachment 35544 Details for
Bug 10900
Incorrect calling conventions accessing C4::Context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10900: 2 occurrences more
Bug-10900-2-occurrences-more.patch (text/plain), 1.42 KB, created by
Martin Renvoize (ashimema)
on 2015-01-26 17:03:17 UTC
(
hide
)
Description:
Bug 10900: 2 occurrences more
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2015-01-26 17:03:17 UTC
Size:
1.42 KB
patch
obsolete
>From 343b405ce96b6aac2081b8abcb9f69900ca03fa2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 29 Aug 2014 17:26:43 +0200 >Subject: [PATCH] Bug 10900: 2 occurrences more > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/db_dependent/Members.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Members.t b/t/db_dependent/Members.t >index 61ab9a2..cf19819 100755 >--- a/t/db_dependent/Members.t >+++ b/t/db_dependent/Members.t >@@ -65,7 +65,7 @@ my @USERENV = ( > my $BRANCH_IDX = 5; > > C4::Context->_new_userenv ('DUMMY_SESSION_ID'); >-C4::Context::set_userenv ( @USERENV ); >+C4::Context->set_userenv ( @USERENV ); > > my $userenv = C4::Context->userenv > or BAIL_OUT("No userenv"); >@@ -172,7 +172,7 @@ ok (!_find_member($results), "Search (arrayref) for independent branches, differ > or diag("Card $CARDNUMBER found in the resultset for independent branches: ".Dumper(C4::Context->preference($INDEPENDENT_BRANCHES_PREF), $results)); > > $USERENV[$BRANCH_IDX] = $BRANCHCODE; >-C4::Context::set_userenv ( @USERENV ); >+C4::Context->set_userenv ( @USERENV ); > > $results = Search("$CHANGED_FIRSTNAME $SURNAME", "surname"); > ok (_find_member($results), "Full name Search (string) for independent branches, same branch") >-- >1.7.10.4
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 10900
:
21152
|
21263
|
21290
|
21291
|
21292
|
22037
|
22038
|
22585
|
22937
|
27729
|
28183
|
30243
|
30244
|
31297
|
31298
|
31719
|
31720
|
31721
|
34355
|
34356
|
34357
|
35542
|
35543
| 35544