Skip to content

Commit

Permalink
Fixed gk_publisher style MySQL syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
dziudek authored Jun 28, 2016
1 parent 757ccdb commit c3beb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod_image_show_gk4/styles/gk_publisher/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function getData($ids) {
SELECT
`c`.`id` AS `id`,
`c`.`catid` AS `cid`,
`c`.`title` AS `title`
`c`.`title` AS `title`,
`c`.`introtext` AS `text`
FROM
#__content AS `c`
Expand Down Expand Up @@ -111,4 +111,4 @@ function getDataK2($ids) {
}
}

// EOF
// EOF

6 comments on commit c3beb58

@websquirrel
Copy link

Choose a reason for hiding this comment

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

I do not understand what you want in line 114.

@dziudek
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@websquirrel - ignore this change - it is a bug in Github diff - there is no change there ;)

@websquirrel
Copy link

Choose a reason for hiding this comment

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

ah ok. seems to work now. Thank you :)

@websquirrel
Copy link

Choose a reason for hiding this comment

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

Next issue: it does not display some characters correctly for title and intro text. Is utf-8 enabled?

@websquirrel
Copy link

Choose a reason for hiding this comment

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

and it would be nice if it added a "...." or "read more" at the end of the cut text

@websquirrel
Copy link

Choose a reason for hiding this comment

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

I found the reason of the characters issue: my editor processed html entities. I disabled that and now your module displays the utf-8 characters correct.
Remains the ugly kind of cutting texts. I prefered if if added "..." at the end of cutted text, only in case of cutting, of course.

Please sign in to comment.