Overview
SHA1 Hash: | 449559394a510fcb37bbfc3db7bcf5aef16de8f9 |
---|---|
Date: | 2008-07-20 15:30:32 |
User: | drh |
Comment: | Fix a bug that prevents the /tktnew page from working with no login. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/th_main.c from [59821e5286] to [c828d14f02].
@@ -322,11 +322,13 @@ /* ** Store a string value in a variable in the interpreter. */ void Th_Store(const char *zName, const char *zValue){ Th_FossilInit(); - Th_SetVar(g.interp, (uchar*)zName, -1, (uchar*)zValue, strlen(zValue)); + if( zValue ){ + Th_SetVar(g.interp, (uchar*)zName, -1, (uchar*)zValue, strlen(zValue)); + } } /* ** Unset a variable. */