-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes in helper+models #2
base: release-1.1.4
Are you sure you want to change the base?
Changes in helper+models #2
Conversation
public static function checkTicketJTicket($tid) | ||
{ | ||
if ($tid) | ||
{ | ||
$db = JFactory::getDBO(); | ||
echo $query = "SELECT CONCAT_WS('-', order_id, id) AS ticketid FROM `#__jticketing_order` as o WHERE CONCAT_WS('-', order_id, id) = '". $tid ."'"; | ||
echo $query = "SELECT CONCAT_WS('-', order_id, id) AS ticketid FROM `#__jticketing_order` |
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.
why jTicketing code is written here?
* @return result format | ||
* | ||
* @since 1.0 | ||
*/ | ||
public static function checkTicketExit($tid) |
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.
again?
* @return result format | ||
* | ||
* @since 1.0 | ||
*/ | ||
public static function checkTicketStatus($tid) |
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.
?
if ($user_Id) | ||
{ | ||
// Checking if the user is having subuser in hierarchy | ||
JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_hierarchy/models', 'hierarchys'); |
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.
Includes should be at the top of the file
No description provided.