-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all 'product_*' keys are non existent in $data since it's a product table only query result row. I removed those calls more then 2 years ago in my code. array_merge is used for merging values for existing keys. No point in initializing $data to an array and then overwriting it in the next line. btw, $query->row is always an array (at least an empty array) (Techically, there is no need here to left join to product_description in the query either other then to ensure the product has a valid description)
- Loading branch information
maks feltrin
committed
Apr 3, 2015
1 parent
8559919
commit a7d4042
Showing
1 changed file
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a7d4042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$data['product_recurrings'] => $this->getRecurrings($product_id)));
too much ));
and last one =>