DAO Query Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 12
Array
(
    [point 0] => Array
        (
            [file] => /home/hkrun/public_html/webapp/hkrn_web2015_v201802/store/app_class/db/HKRN_RunnerDAO.php
            [line] => 1038
            [function] => queryRaw
            [class] => CB_DAO
            [type] => ->
            [args] => Array
                (
                    [0] => Select
                `HKRN_Runner`.`internal-runner-id`,
                `HKRN_Runner`.`account_id`,
                `HKRN_Runner`.`runner-id`,
                `HKRN_Runner`.`first-name`,
                `HKRN_Runner`.`last-name`,
                 if((`HKRN_Runner`.`display-last-name-first` = 'Y'),
                    concat(`HKRN_Runner`.`last-name`,' ',`HKRN_Runner`.`first-name`),
                    concat(`HKRN_Runner`.`first-name`,' ',`HKRN_Runner`.`last-name`)) AS `runner-name-en`,
                `HKRN_Runner`.`chinese-name`,
                `HKRN_Runner`.`gender` 
              From `HKRN_Runner` where `HKRN_Runner`.`internal-runner-id`=  
                )

        )

    [point 1] => Array
        (
            [file] => /home/hkrun/public_html/webapp/hkrn_web2015_v201802/store/model/HKRN_RunnerModel.php
            [line] => 57
            [function] => queryRunnerDetails
            [class] => HKRN_RunnerDAO
            [type] => ->
            [args] => Array
                (
                    [0] => 
                    [1] => 1
                )

        )

    [point 2] => Array
        (
            [file] => /home/hkrun/public_html/webapp/hkrn_web2015_v201802/store/controller/road_race_runner/HKRN_RoadRaceRunnerDetailsController.php
            [line] => 107
            [function] => getRoadRaceRunnerDetails
            [class] => HKRN_RunnerModel
            [type] => ->
            [args] => Array
                (
                    [0] => 
                    [1] => 1
                    [2] => 
                    [3] => 
                    [4] => 
                    [5] => 
                    [6] => 
                    [7] => 
                    [8] => 1
                )

        )

    [point 3] => Array
        (
            [file] => /home/hkrun/public_html/webapp/hkrn_web2015_v201802/store/controller/HKRN_ControllerBase.php
            [line] => 37
            [function] => subClassStart
            [class] => HKRN_RoadRaceRunnerDetailsController
            [type] => ->
            [args] => Array
                (
                )

        )

    [point 4] => Array
        (
            [file] => /home/hkrun/public_html/candy_bin/core/ctrlr/CB_ControllerBase.php
            [line] => 182
            [function] => start
            [class] => HKRN_ControllerBase
            [type] => ->
            [args] => Array
                (
                )

        )

    [point 5] => Array
        (
            [file] => /home/hkrun/public_html/candy_bin/core/CandyBin.php
            [line] => 232
            [function] => safeStart
            [class] => CB_ControllerBase
            [type] => ->
            [args] => Array
                (
                )

        )

    [point 6] => Array
        (
            [file] => /home/hkrun/public_html/candy_bin/bin/cb_index.php
            [line] => 31
            [function] => start
            [class] => CandyBin
            [type] => ->
            [args] => Array
                (
                )

        )

)