summaryrefslogtreecommitdiffstats
path: root/lib/install.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-12-14 12:41:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-12-14 12:41:17 +0000
commit30b8ff698d0612bbc64151927fc94873914606f8 (patch)
treed9facbafa9d591f4b2c55bb530b9386e80330b66 /lib/install.php
parentf26a4a3f8ac6dea9c3017e0656e5a40062f5dadc (diff)
downloadampache-30b8ff698d0612bbc64151927fc94873914606f8.tar.gz
ampache-30b8ff698d0612bbc64151927fc94873914606f8.tar.bz2
ampache-30b8ff698d0612bbc64151927fc94873914606f8.zip
testing is for chumps
Diffstat (limited to 'lib/install.php')
-rw-r--r--lib/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.php b/lib/install.php
index 2da83687..a90808c8 100644
--- a/lib/install.php
+++ b/lib/install.php
@@ -202,7 +202,7 @@ function install_insert_db($username,$password,$hostname,$database) {
if(!empty($pieces[$i]) && $pieces[$i] != "#") {
//FIXME: This is for a DB prefix when we get around to it
// $pieces[$i] = str_replace( "#__", $DBPrefix, $pieces[$i]);
- if (!$result = Dba::query ($pieces[$i])) {
+ if (!$result = Dba::write($pieces[$i])) {
$errors[] = array ( mysql_error(), $pieces[$i] );
} // end if
} // end if