Fixed a typo in SQLForm.pm (Radix)

This commit is contained in:
JT Smith 2007-04-23 22:36:06 +00:00
parent d1ebb39b11
commit 485eee3808
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@
they complete their transaction.
- fix: Trouble with Search Users (perlDreamer Consulting, LLC)
http://www.plainblack.com/bugs/tracker/trouble-with-search-users
- fix: Fixed a typo in SQLForm.pm (Radix)
- fix: Fixed an unhandled exception in Workflow/Activity/PurgeOldAssetRevisions.pm
- Added better error handling for asset instanciation in version tags.
- Added better error handling in asset instanciation.

View file

@ -1245,7 +1245,7 @@ sub processPropertiesFromFormPost {
#if table exists and not in SQLForm format, put in SQLFormFormat.
@tables = $dbLink->db->buildArray("show tables");
@usedTables = $self->session->db->buildArray("select tableName from SQLForm, asset where asset.assetID=SQLForm.assetId and state='pub lished' and databaseLinkId = ".$self->session->db->quote($dbLinkId));
@usedTables = $self->session->db->buildArray("select tableName from SQLForm, asset where asset.assetID=SQLForm.assetId and state='published' and databaseLinkId = ".$self->session->db->quote($dbLinkId));
if (isIn(lc($tableName), map {lc} @usedTables)) {
return ["The table is already used in an SQLForm."];