diff options
| author | 2013-11-24 17:08:48 +0100 | |
|---|---|---|
| committer | 2013-11-24 17:08:48 +0100 | |
| commit | 08ff116f040f4c735722963e39fd6eb3716ef352 (patch) | |
| tree | f4716b8d7303701bfb6f5cec1d11ca0b6808c2d6 /app/models/Category.php | |
| parent | 2e387749d55fe6a39e9c77c7272faf9c8d71591b (diff) | |
OPML : corrections import/export
À tester plus.
En particulier, ne supporte pas bien les fichiers OPML qui sont à la
fois avec des entités HTML et pas en UTF-8.
Devrait corriger https://github.com/marienfressinaud/FreshRSS/issues/287
Diffstat (limited to 'app/models/Category.php')
| -rwxr-xr-x | app/models/Category.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Category.php b/app/models/Category.php index 1ae324ace..a01034f4e 100755 --- a/app/models/Category.php +++ b/app/models/Category.php @@ -95,7 +95,7 @@ class CategoryDAO extends Model_pdo { ); if ($stm && $stm->execute ($values)) { - return $stm->rowCount(); + return $this->bd->lastInsertId(); } else { $info = $stm->errorInfo(); Minz_Log::record ('SQL error : ' . $info[2], Minz_Log::ERROR); |
