Fixed bad variable reference
authorAlexander Ebert <ebert@woltlab.com>
Sun, 6 Jan 2013 20:49:06 +0000 (21:49 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 6 Jan 2013 20:49:06 +0000 (21:49 +0100)
wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php

index a22d8e88e3e551f38b7b74d8b8b0f665c549f03d..9119324b6599933561a2b51d6cc7e10c933817f6 100644 (file)
@@ -409,7 +409,7 @@ abstract class AbstractDatabaseObjectAction implements IDatabaseObjectAction, ID
                                throw new SystemException("Corrupt parameters, index '".$arrayIndex."' is missing");
                        }
                        
-                       $target =& $this->parameters[$variableName];
+                       $target =& $this->parameters[$arrayIndex];
                }
                else {
                        $target =& $this->parameters;