Commit 5299978e authored by Pawel G's avatar Pawel G

Issue #3017247 by kdonaldson: Fix Postgres Not Null Violation

parent 55f808b4
...@@ -28,6 +28,7 @@ class SimplesitemapQueue extends DatabaseQueue { ...@@ -28,6 +28,7 @@ class SimplesitemapQueue extends DatabaseQueue {
catch (\Exception $e) { catch (\Exception $e) {
$this->catchException($e); $this->catchException($e);
} }
return FALSE; return FALSE;
} }
...@@ -48,6 +49,7 @@ class SimplesitemapQueue extends DatabaseQueue { ...@@ -48,6 +49,7 @@ class SimplesitemapQueue extends DatabaseQueue {
if ($try_again) { if ($try_again) {
$id = $this->doCreateItems($data_sets); $id = $this->doCreateItems($data_sets);
} }
return $id; return $id;
} }
...@@ -59,7 +61,7 @@ class SimplesitemapQueue extends DatabaseQueue { ...@@ -59,7 +61,7 @@ class SimplesitemapQueue extends DatabaseQueue {
$query->values([ $query->values([
$this->name, $this->name,
serialize($data), serialize($data),
'created' => time(), time(),
]); ]);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment