<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>js error</title> 
  <pubDate>Fri, 10 Apr 2026 20:05:51 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1313</link> 
  <atom:link rel="self" type="application/rss+xml" title="js error" href="https://bugs.horde.org/ticket/1313/rss" /> 
  <description>js error</description> 
 
   
   
  <item> 
   <title>in file templates/browse/column_headers.inc $prefs-&gt;getValue</title> 
   <description>in file templates/browse/column_headers.inc $prefs-&gt;getValue(&#039;sortdir&#039;) returns for me empty string, therefore it generates invalid javascript code. Tere is a patch:



13c13

&lt;         &lt;a class=&quot;widget&quot; href=&quot;&quot; onclick=&quot;Sort(0, &lt;?php echo $prefs-&gt;getValue(&#039;sortdir&#039;) ?&gt;); return false;&quot;&gt;&lt;?php echo $attributes[&#039;name&#039;][&#039;label&#039;] ?&gt;&lt;/a&gt;

---

&gt;         &lt;a class=&quot;widget&quot; href=&quot;&quot; onclick=&quot;Sort(0, &lt;?php echo intval($prefs-&gt;getValue(&#039;sortdir&#039;)) ?&gt;); return false;&quot;&gt;&lt;?php echo $attributes[&#039;name&#039;][&#039;label&#039;] ?&gt;&lt;/a&gt;

18c18

&lt;         &lt;a class=&quot;widget&quot; href=&quot;&quot; onclick=&quot;Sort(&lt;?php echo $i ?&gt;, &lt;?php echo $prefs-&gt;getValue(&#039;sortdir&#039;) ?&gt;); return false;&quot;&gt;&lt;?php echo $attributes[$columns[$i-1]][&#039;label&#039;] ?&gt;&lt;/a&gt;

---

&gt;         &lt;a class=&quot;widget&quot; href=&quot;&quot; onclick=&quot;Sort(&lt;?php echo $i ?&gt;, &lt;?php echo intval($prefs-&gt;getValue(&#039;sortdir&#039;)) ?&gt;); return false;&quot;&gt;&lt;?php echo $attributes[$columns[$i-1]][&#039;label&#039;] ?&gt;&lt;/a&gt;

</description> 
   <pubDate>Mon, 07 Feb 2005 09:38:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1313#t5237</link> 
  </item> 
   
  <item> 
   <title>Fixed in CVS and 2.0.1.</title> 
   <description>Fixed in CVS and 2.0.1.</description> 
   <pubDate>Wed, 09 Feb 2005 01:29:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1313#t5355</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
