Skip to content

Commit

Permalink
Fixed: PHP Notice: Array to string conversion
Browse files Browse the repository at this point in the history
PHP Notice: Array to string conversion in
/var/www/zoph/cli/arguments.inc.php on line 352

Closes #3
  • Loading branch information
jeroenrnl committed Sep 23, 2012
1 parent 2fd3005 commit bb41ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/cli/arguments.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

1 comment on commit bb41ce6

@lizdodd
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.