From cd5dc3246ee24d596e5bbcab04d8f4adfed93cb5 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 27 Aug 2008 17:19:40 -0400 Subject: got two lines reversed darcs-hash:20080827211940-84dde-d5b404023a2fb6b74b6255dd91910c9ec7df3cc6.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util.php') diff --git a/lib/util.php b/lib/util.php index cea0c3992..40f9e1a1b 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1075,8 +1075,8 @@ function common_enqueue_notice($notice) { $qi->notice_id = $notice->id; $qi->transport = $transport; $qi->created = $notice->created; - if (!$result) { $result = $qi->insert(); + if (!$result) { $last_error = &PEAR::getStaticProperty('DB_DataObject','lastError'); common_log(LOG_ERR, 'DB error inserting queue item: ' . $last_error->message); return false; -- cgit v1.2.3-54-g00ecf