Fixed bug where password reset form link was broken.
This commit is contained in:
parent
1875f1ed00
commit
f1c55ffe9f
|
@ -197,7 +197,7 @@ class Notebooks( object ):
|
||||||
if notebook is None:
|
if notebook is None:
|
||||||
note = None
|
note = None
|
||||||
else:
|
else:
|
||||||
note = self.__database.select_one( Notebook, notebook.sql_load_note_by_title( note_title ) )
|
note = self.__database.select_one( Note, notebook.sql_load_note_by_title( note_title ) )
|
||||||
|
|
||||||
return dict(
|
return dict(
|
||||||
note = note,
|
note = note,
|
||||||
|
@ -234,7 +234,7 @@ class Notebooks( object ):
|
||||||
if notebook is None:
|
if notebook is None:
|
||||||
note = None
|
note = None
|
||||||
else:
|
else:
|
||||||
note = self.__database.select_one( Notebook, notebook.sql_load_note_by_title( note_title ) )
|
note = self.__database.select_one( Note, notebook.sql_load_note_by_title( note_title ) )
|
||||||
|
|
||||||
return dict(
|
return dict(
|
||||||
note_id = note and note.object_id or None,
|
note_id = note and note.object_id or None,
|
||||||
|
|
Reference in New Issue
Block a user