summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-January/001646.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-January/001646.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-January/001646.html102
1 files changed, 102 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-January/001646.html b/zarb-ml/mageia-sysadm/2011-January/001646.html
new file mode 100644
index 000000000..94980f48e
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-January/001646.html
@@ -0,0 +1,102 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [244] fix string substitution, this emptied the searchfilter, leading to a catdap error page
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B244%5D%20fix%20string%20substitution%2C%0A%20this%20emptied%20the%20searchfilter%2C%20leading%20to%20a%20catdap%20error%20page&In-Reply-To=%3C20110107013936.2AE1841AE1%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="001645.html">
+ <LINK REL="Next" HREF="001647.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [244] fix string substitution, this emptied the searchfilter, leading to a catdap error page</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B244%5D%20fix%20string%20substitution%2C%0A%20this%20emptied%20the%20searchfilter%2C%20leading%20to%20a%20catdap%20error%20page&In-Reply-To=%3C20110107013936.2AE1841AE1%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [244] fix string substitution, this emptied the searchfilter, leading to a catdap error page">root at mageia.org
+ </A><BR>
+ <I>Fri Jan 7 02:39:36 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001645.html">[Mageia-sysadm] [688] create two list to handle sysadmin list automated commit
+</A></li>
+ <LI>Next message: <A HREF="001647.html">[Mageia-sysadm] [245] more compact code
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1646">[ date ]</a>
+ <a href="thread.html#1646">[ thread ]</a>
+ <a href="subject.html#1646">[ subject ]</a>
+ <a href="author.html#1646">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 244
+Author: misc
+Date: 2011-01-07 02:39:35 +0100 (Fri, 07 Jan 2011)
+Log Message:
+-----------
+fix string substitution, this emptied the searchfilter, leading to a catdap error page
+
+Modified Paths:
+--------------
+ identity/CatDap/trunk/lib/CatDap/Controller/user.pm
+
+Modified: identity/CatDap/trunk/lib/CatDap/Controller/user.pm
+===================================================================
+--- identity/CatDap/trunk/lib/CatDap/Controller/user.pm 2011-01-07 00:59:10 UTC (rev 243)
++++ identity/CatDap/trunk/lib/CatDap/Controller/user.pm 2011-01-07 01:39:35 UTC (rev 244)
+@@ -241,8 +241,7 @@
+ $attr = $c-&gt;req-&gt;param('attribute');
+ $value = $c-&gt;req-&gt;param('value');
+ $user = $c-&gt;user-&gt;username;
+- $userfilter = $c-&gt;user-&gt;store-&gt;user_filter;
+- $userfilter = s/%s/$c-&gt;user-&gt;username/g;
++ $userfilter = sprintf($c-&gt;user-&gt;store-&gt;user_filter ,$c-&gt;user-&gt;username);
+ $c-&gt;log-&gt;debug(&quot;Searching for user $user with $userfilter&quot;);
+ $mesg = $c-&gt;model('User')-&gt;search($userfilter);
+ $entry = $mesg-&gt;entry;
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20110107/93a7101d/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001645.html">[Mageia-sysadm] [688] create two list to handle sysadmin list automated commit
+</A></li>
+ <LI>Next message: <A HREF="001647.html">[Mageia-sysadm] [245] more compact code
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1646">[ date ]</a>
+ <a href="thread.html#1646">[ thread ]</a>
+ <a href="subject.html#1646">[ subject ]</a>
+ <a href="author.html#1646">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>