You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by pn...@apache.org on 2011/03/20 00:28:28 UTC
[Lucene.Net] svn commit: r1083332 - /incubator/lucene.net/site/trunk/lib/view.pm
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) {