For a positive integer $n$ we write $\phi (n)$ for the Euler function of $n$. In this note, we show that if $b>1$ is a fixed positive integer, then the equation \[ \phi \Big (x\frac{b^n-1}{b-1}\Big )=y\frac{b^m-1}{b-1},\qquad {\text{where}} \ x,~y\in \lbrace 1,\ldots ,b-1\rbrace , \] has only finitely many positive integer solutions $(x,y,m,n)$.