[packages/php-symfony] rel 4; one more place that needs quoting
arekm
arekm at pld-linux.org
Thu Oct 5 11:55:20 CEST 2023
commit 444d5ec2ee78ed48645b61ed31cc1ec1cd46360a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 5 10:50:57 2023 +0200
rel 4; one more place that needs quoting
php-symfony.spec | 2 +-
quote.patch | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/php-symfony.spec b/php-symfony.spec
index c398229..cbb74a6 100644
--- a/php-symfony.spec
+++ b/php-symfony.spec
@@ -8,7 +8,7 @@ Summary: Open-source PHP web framework
Summary(pl.UTF-8): Szkielet aplikacji WWW w PHP o otwartych źródłach
Name: php-%{pkgname}
Version: 1.4.20
-Release: 3
+Release: 4
License: various free licenses (distributable)
Group: Development/Languages/PHP
Source0: http://www.symfony-project.org/get/symfony-%{version}.tgz
diff --git a/quote.patch b/quote.patch
index 157d971..4be13a2 100644
--- a/quote.patch
+++ b/quote.patch
@@ -1,5 +1,20 @@
--- a/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/BasePeer.php 2010-03-16 00:09:22.000000000 +0100
+++ b/lib/plugins/sfPropelPlugin/lib/vendor/propel/util/BasePeer.php 2018-09-27 10:01:01.966687223 +0200
+@@ -155,7 +155,13 @@
+
+ // Execute the statement.
+ try {
+- $sql = "DELETE FROM " . $tableName . " WHERE " . implode(" AND ", $whereClause);
++ $sql = "DELETE FROM ";
++ if ($db->useQuoteIdentifier()) {
++ $sql .= $db->quoteIdentifierTable($tableName);
++ } else {
++ $sql .= $tableName;
++ }
++ $sql .= " WHERE " . implode(" AND ", $whereClause);
+ $stmt = $con->prepare($sql);
+ self::populateStmtValues($stmt, $selectParams, $dbMap, $db);
+ $stmt->execute();
@@ -353,8 +353,13 @@
$stmt = null;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-symfony.git/commitdiff/444d5ec2ee78ed48645b61ed31cc1ec1cd46360a
More information about the pld-cvs-commit
mailing list