Permalink
Browse files

Fixed: PHP Notice: Array to string conversion

PHP Notice: Array to string conversion in
/var/www/zoph/cli/arguments.inc.php on line 352

Closes #3
  • Loading branch information...
1 parent 2fd3005 commit bb41ce671c55e7ad3b219fb4811aa153b37c67fb @jeroenrnl committed Sep 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 php/cli/arguments.inc.php
@@ -348,8 +348,8 @@ private function lookup() {
if(empty($arg) || empty($type)) {
continue;
}
-
- log::msg($type . "\t->\t" . $arg, log::DEBUG, log::IMPORT);
+
+ log::msg($type . "\t->\t" . implode(",", (array) $arg), log::DEBUG, log::IMPORT);
switch($type) {
case "albums":
foreach($arg as $name) {

1 comment on commit bb41ce6

Next try gave me another error
PHP Notice: Array to string conversion in /var/www/zoph/classes/zophTable.inc.php on line 94

Please sign in to comment.