summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2010-02-03 13:00:56 +0000
committerSteve Dibb <beandog@gentoo.org>2010-02-03 13:00:56 +0000
commitb66cdc88f8200dc54e07bb093edcc2fcaff6f0f3 (patch)
tree6ed8644cb6b82dcbc2b24881e3dc0db3685024f8
parentDelete the temporary bug CSV (diff)
downloadznurt-org-backend-b66cdc88f8200dc54e07bb093edcc2fcaff6f0f3.tar.gz
znurt-org-backend-b66cdc88f8200dc54e07bb093edcc2fcaff6f0f3.tar.bz2
znurt-org-backend-b66cdc88f8200dc54e07bb093edcc2fcaff6f0f3.zip
Use singleton
git-svn-id: file:///var/svn/portage@79 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
-rw-r--r--import.package_mask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/import.package_mask.php b/import.package_mask.php
index 283f64a..4d9a2cb 100644
--- a/import.package_mask.php
+++ b/import.package_mask.php
@@ -55,7 +55,7 @@
function null2str($var) {
- global $db;
+ $db =& MDB2::singleton();
if(is_null($var))
return 'NULL';