Notice: Undefined index: search_category_id in /srv/www/otvenentul.hu/html_uj/grapes/gallery_functions.php on line 225

Fatal error: Error in function: db_get_records_assoc during executing SQL: SELECT gallery.gallery_name, gallery.gallery_description, images.image_name, gallery.gallery_display_name FROM gallery inner join images on gallery.teaser_img_id = images.idn inner join category_gallery_connector on category_gallery_connector.gallery_id = gallery.idn WHERE status = true and category_gallery_connector.category_id = order by sticky DESC, gallery.datum. pg_last_error:ERROR: syntax error at or near "order" LINE 2: ...rue and category_gallery_connector.category_id = order by s... ^ in /srv/www/otvenentul.hu/html_uj/grapes/data_access.php on line 196