Skip to content

Commit

Permalink
typo in test for MS SQL driver when creating new surveys
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@2678 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Tom Tuddenham committed Apr 2, 2007
1 parent e850092 commit a2886b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/activate.php
Expand Up @@ -261,7 +261,7 @@
// represent 'no date', wouldn't it make more sense to allow NULLs here and represent
// 'no date' with a null value? Will this screw anything else up?
// For MS Server I'm going to allow NULLs and see what happens [tom]
if ($connect->databaseType == 'odbc_msmsql') {
if ($connect->databaseType == 'odbc_mssql') {
$createsurvey .= " submitdate T,\n";
} else {
$createsurvey .= " submitdate T NOTNULL DEFAULT '0000-00-00 00:00:00',\n";
Expand Down

0 comments on commit a2886b0

Please sign in to comment.