Fixed a typo in SQLForm.pm (Radix)
This commit is contained in:
parent
d1ebb39b11
commit
485eee3808
2 changed files with 2 additions and 1 deletions
|
|
@ -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."];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue