mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Fix php notice (#4620, nicolaas)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@90017 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f02e8803b1
commit
6eba0473b8
@ -284,7 +284,7 @@ class DatabaseAdmin extends Controller {
|
||||
$id = $record['ID'];
|
||||
if(($record['ClassName'] != $subclass) &&
|
||||
(!is_subclass_of($record['ClassName'], $subclass)) &&
|
||||
($recordExists[$subclass][$id])) {
|
||||
(isset($recordExists[$subclass][$id]))) {
|
||||
$sql = "DELETE FROM \"$subclass\" WHERE \"ID\" = $record[ID]";
|
||||
echo "<li>$sql";
|
||||
DB::query($sql);
|
||||
|
Loading…
Reference in New Issue
Block a user