|
@@ -74,7 +74,7 @@ discard block |
|
|
block discarded – undo |
|
74
|
74
|
$table = RuntimeTable::fromRuntimeTable($tableName)->getTable(); |
|
75
|
75
|
|
|
76
|
76
|
// make sure we don't have a duplicate entry |
|
77
|
|
- if (isset($table->$key)){ |
|
|
77
|
+ if (isset($table->$key)) { |
|
78
|
78
|
$msg = "table already contains item '{$key}'"; |
|
79
|
79
|
$log->endAction($msg); |
|
80
|
80
|
throw Exceptions::newActionFailedException(__METHOD__, $msg); |
|
@@ -199,7 +199,7 @@ discard block |
|
|
block discarded – undo |
|
199
|
199
|
} |
|
200
|
200
|
|
|
201
|
201
|
// make sure we don't have a duplicate entry |
|
202
|
|
- if (isset($tables->$tableName->$group->$key)){ |
|
|
202
|
+ if (isset($tables->$tableName->$group->$key)) { |
|
203
|
203
|
$msg = "table already contains an entry for '{$group}->{$key}'"; |
|
204
|
204
|
$log->endAction($msg); |
|
205
|
205
|
throw Exceptions::newActionFailedException(__METHOD__, $msg); |
Please login to merge, or discard this patch.