lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnas...@apache.org
Subject [Lucene.Net] svn commit: r1083332 - /incubator/lucene.net/site/trunk/lib/view.pm
Date Sat, 19 Mar 2011 23:28:28 GMT
Author: pnasser
Date: Sat Mar 19 23:28:28 2011
New Revision: 1083332

URL: http://svn.apache.org/viewvc?rev=1083332&view=rev
Log:
updating view.pm

Modified:
    incubator/lucene.net/site/trunk/lib/view.pm

Modified: incubator/lucene.net/site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/lucene.net/site/trunk/lib/view.pm?rev=1083332&r1=1083331&r2=1083332&view=diff
==============================================================================
--- incubator/lucene.net/site/trunk/lib/view.pm (original)
+++ incubator/lucene.net/site/trunk/lib/view.pm Sat Mar 19 23:28:28 2011
@@ -99,9 +99,11 @@ sub sitemap {
 
 
 sub _tagline {
-    my $file = ""; #for some reason when updating .mdtext files $_ is empty..
-	if ($_) { 
-	    $file = basename($_); #
+    # This causes problems when updating via the website - becuase $_ is null, whatever page
that is updated loses it's specfic tagline
+	# and gets the generic tagline.
+    my $file = ""; 
+	if ($_) {        			
+	    $file = basename($_);
     }
 	
 	switch ($file) {



Mime
View raw message