call an action from the same CController

how can I do it?

whenI try to use an action inside anoter action of the same controller it says

Fatal error: Call to undefined function actioncreateconfig() in /home/todolist/public_html/todolist/protected/controllers/SiteController.php on line 22

and I know that actionCreateCongig() exists

Maybe a case sensitive problem.

Could you post your code here?

this is the code:

public function actionCopy() {

        $user = actionCreateConfig();


        $t = Todo::model()->findByPk($_GET['todoId']);

        $t->todoId = null;

        $t->userId = $user->userId;



It must be


The proper way to run actions is