Skip to content

Commit

Permalink
use phpName for column name in $values array
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsj committed Apr 26, 2024
1 parent 683fff8 commit 562be9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Propel/Generator/Builder/Om/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2186,7 +2186,7 @@ protected function doOnDeleteSetNull(ConnectionInterface \$con): void
$columnL = $table->getColumn($columnNamesL[$x]);
$script .= "
\$query->add(" . $refTableTableMapBuilder->getColumnConstant($columnFK) . ', $obj->get' . $columnL->getPhpName() . "());
\$updateValues[" . $refTableTableMapBuilder->getColumnConstant($columnFK) . "] = null;
\$updateValues['" . $columnFK->getPhpName() . "'] = null;
";
}

Expand Down

0 comments on commit 562be9e

Please sign in to comment.