summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2011-05-01 23:11:18 +0100
committerMartin Green <martin.speleo@gmail.com>2011-05-01 23:11:18 +0100
commit7623943f3eb4f851503282c85fc65a3e7ba80fbc (patch)
treedf5b9efbc568f804aba4198936e16028b3fac089 /core
parent6d7691791af58dcb11bd7e1d2b70623dc7143865 (diff)
downloadtroggle-7623943f3eb4f851503282c85fc65a3e7ba80fbc.tar.gz
troggle-7623943f3eb4f851503282c85fc65a3e7ba80fbc.tar.bz2
troggle-7623943f3eb4f851503282c85fc65a3e7ba80fbc.zip
Fix
Diffstat (limited to 'core')
-rw-r--r--core/views_logbooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views_logbooks.py b/core/views_logbooks.py
index cb7de3a..b1b0a5f 100644
--- a/core/views_logbooks.py
+++ b/core/views_logbooks.py
@@ -196,7 +196,7 @@ def newLogbookEntry(request, expeditionyear, pdate = None, pslug = None):
print logbookparsers.parseAutoLogBookEntry(filename)
return HttpResponseRedirect(reverse('expedition', args=[expedition.year])) # Redirect after POST
else:
- if slug and date:
+ if pslug and date:
if lbe.cave:
tripForm = TripForm(date = previousdate,
title = previouslbe.title,