Convert variable names to camel case in strings
[MAILPOET-1796]
This commit is contained in:
@ -27,7 +27,7 @@ class SettingsRepository extends Repository {
|
||||
$now = Carbon::createFromTimestamp(WPFunctions::get()->currentTime('timestamp'));
|
||||
$tableName = $this->entityManager->getClassMetadata(SettingEntity::class)->getTableName();
|
||||
$this->entityManager->getConnection()->executeUpdate("
|
||||
INSERT INTO $table_name (name, value, created_at, updated_at)
|
||||
INSERT INTO $tableName (name, value, created_at, updated_at)
|
||||
VALUES (:name, :value, :now, :now)
|
||||
ON DUPLICATE KEY UPDATE value = :value, updated_at = :now
|
||||
", [
|
||||
|
Reference in New Issue
Block a user