custom permalink’s rewrite rule for page id

I found a problem. I needed change function parameter name to “$aVars”.

function nw_lang_addQuery($avars)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)